Do XDB Queries for saved states in Informant
commit77d9294a2fc2d1517f107844701ebea2f147cdc8
authorAlexander Chow <achow@fb.com>
Tue, 10 Oct 2017 17:02:41 +0000 (10 10:02 -0700)
committerHhvm Bot <hhvm-bot@users.noreply.github.com>
Tue, 10 Oct 2017 17:25:55 +0000 (10 10:25 -0700)
tree3f182c1aeb4ce03b9c5707d53199753db27730cd
parent1d8c21a7779a29c5645baa2540145cb5567fa527
Do XDB Queries for saved states in Informant

Summary:
We look up in the XDB table for the existence of a saved state
before directing a restart.

In a followup, we will actually inspect the xdb_result and
decide whether or not it is too distant to do a restart.

Reviewed By: jamesjwu

Differential Revision: D5995198

fbshipit-source-id: 43159cd6f2c041f33fdc0558981543732a461221
hphp/hack/src/server/hhMonitorInformant.ml
hphp/hack/src/server/hhMonitorInformant_sig.ml
hphp/hack/src/server/hhServerMonitor.ml
hphp/hack/src/server/serverLocalConfig.ml
hphp/hack/src/stubs/hackEventLogger.ml
hphp/hack/src/stubs/xdb.ml [new file with mode: 0644]
hphp/hack/test/unit/informant/informant_test.ml
hphp/hack/test/utils/asserter/asserter.ml