Additional logging in State_logger to show cached state lookup
commit54a5e434299988b87ed47bb219712dde3a65d65c
authorTatiana Racheva <tatianaracheva@fb.com>
Wed, 6 May 2020 09:50:13 +0000 (6 02:50 -0700)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Wed, 6 May 2020 10:01:55 +0000 (6 03:01 -0700)
treef25d60ae4997e0c9e5653031142b9e6b2ceb8041
parent88e41ebf43815e2d2d92ce3a1206854245812186
Additional logging in State_logger to show cached state lookup

Summary:
This diff adds logging of the cached saved state metadata when we're looking up whether we have a saved state already on disk for a given global revision or hash.

This diff also adds deriving show to the Hg, ServerMonitorUtils, and State_loader modules.

Reviewed By: vsiles

Differential Revision: D21233516

fbshipit-source-id: f379180c0f931b074a6966c9e8f89b02fb8783e8
hphp/hack/src/monitor/dune
hphp/hack/src/monitor/serverMonitorUtils.ml
hphp/hack/src/utils/hg/dune
hphp/hack/src/utils/hg/hg_sig.ml