Download and use 64-bit dep graph when enabled
commitecc340db36d9406accbdbb94c54ad24ed2c03d5a
authorHenri Verroken <hverr@fb.com>
Sun, 11 Oct 2020 13:52:48 +0000 (11 06:52 -0700)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Sun, 11 Oct 2020 13:54:40 +0000 (11 06:54 -0700)
tree718d61a96b87940a4d8f8dbf6bba1197d3baf2e4
parenta91fb07b6fc2f64e9a84063288abc73d60e8f955
Download and use 64-bit dep graph when enabled

Summary:
When instructed to do so, download and use the 64-bit saved state from the hack XDB.

hh_server will download 64-bit saved-states to the same directory structure but with a `_64bit` suffix, e.g. `/tmp/hh_server/hh_saved_states_sql/global_XXXX_64bit`

- Currently, when in 64-bit mode, we bypass devinfra's naming table, because I am not sure it's made for the same revision as the dep graph. We thus fall back to the legacy naming table blob.

- Informant monitor pre-downloading is disabled, and thus I've not bothered to support 64-bit in this scenario yet.

- `xdb_bin.ml` is also not yet supported, I have no idea where that's used.

Reviewed By: ljw1004

Differential Revision: D24190440

fbshipit-source-id: e65f0b74e6c68a4c6452b1a46f9e8f8762fd696e
hphp/hack/src/server/hhMonitorInformant.ml
hphp/hack/src/server/serverLazyInit.ml
hphp/hack/src/stubs/state_loader.ml
hphp/hack/src/stubs/xdb.ml