sapling/eden/docs
Genevieve Helsel 9944a5dff5 add EdenServer recovery step and recover after failed takeover data send handshake
Summary:
* This adds a `EdenServer::recover()` method to start back up on unsuccessful takeover data send.
    * On an unsuccessful ping, filfill the `shutdownPromise` with a `TakeoverSendError` continaing the constructed `TakeoverData`. After this `recover` function is called, `takeoverPromise_` is reset, `takeoverShutdown` is set to `false`, and the `runningState_` is set to `RUNNING`.
With taking over from the returned `TakeoverData`, the user will not encounter `Transport not connected` errors on recovery.

* This adds a `EdenServer::closeStorage()` method to defer closing the `backingStore_` and `localStore_` until after our ready handshake is successful.
* This defers the shutdown of the `PrivHelper` until a successful ready handshake.

I also update the takeover documentation here with the new logic (and fix some formatting issues)

Reviewed By: simpkins

Differential Revision: D20433433

fbshipit-source-id: f59e660922674d281957e80aee5049735b901a2c
2020-04-07 09:52:21 -07:00
..
Caching.md add a caching strategy document 2018-12-06 12:33:31 -08:00
Config.md add ClientConfig method that compiles repository data 2016-08-05 12:50:29 -07:00
Globbing.md Document how globs work 2019-03-07 14:20:57 -08:00
InodeLifetime.md add document describing Inode lifetime management 2016-12-22 19:01:12 -08:00
InodeLocks.md store FileInode and TreeInode timestamps in the InodeTable 2018-05-22 11:22:19 -07:00
InodeStorage.md storage documentation tweaks 2018-04-13 12:37:53 -07:00
Paths.md documentation for paths 2020-01-17 12:08:42 -08:00
Rename.md always load affected inodes in rename(), and update lock ordering 2017-02-03 18:35:03 -08:00
Takeover.md add EdenServer recovery step and recover after failed takeover data send handshake 2020-04-07 09:52:21 -07:00
Threading.md add an overview doc for our threading strategy 2017-12-12 12:51:23 -08:00