Correct. When a ledger is fenced, the client will send a fence read request to all bookies. Each bookie would mark the ledger as fenced and persist the fence state on disk. Following normal writes to that ledger will be rejected.
- Sijie On Mon, Dec 8, 2014 at 4:54 AM, Maciej Smoleński <[email protected]> wrote: > Recently I read about Bookkeeper fencing protocol. > I didn't find the answer to my question in the protocol description so I'm > asking here: > > When the ledger is fenced, the bookies are instructed to not accept new > writes, but to accept only recoveryWrites. > For correctness this should be saved to a persistent storage. > I expect that it is enough to save this info persistently at the bookie > server. > Am I right, does it work in Bookkeeper this way ? >
