mirror of
https://github.com/facebook/sapling.git
synced 2024-10-13 02:07:31 +03:00
6753522810
Summary: This updates the mononoke server code to support booting without myrouter. This required 2 changes: - There were a few callsites where we didn't handle not having a myrouter port. - In our function that waits for myrouter, we were failing if we had no myrouter port, but that's not desirable: if we don't have a myrouter port, we simply don't need to wait. Arguably, This isn't 100% complete yet. Notably, RepoReadWriteStatus still requires myrouter. I'm planning to create a bootcamp task for this since it's not blocking my work adding integration tests, but would be a nice to have. Speaking of further refactor, it'd be nice if we supported a `SqlConstructors::with_xdb` function that did this matching for us so we didn't have to duplicate it all over the place. I'm also planning to bootcamp this. Reviewed By: farnz Differential Revision: D15855431 fbshipit-source-id: 96187d887c467abd48ac605c28b826d8bf09862b |
||
---|---|---|
.. | ||
remotefilelog/src | ||
repo_read_write_status/src | ||
schemas | ||
src | ||
streaming_clone/src |