aboutsummaryrefslogtreecommitdiffstats
path: root/src/api/dashboard
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-17 11:56:08 +0000
committertv <tv@krebsco.de>2026-11-17 13:01:18 +0100
commitac4d8c0d28a96bd7e69b763374f7d3028440219f (patch)
treed8476ef58d9a8d81d8212276e71655cae49b5962 /src/api/dashboard
parentfd21b989604ac4bc604c03c749a67fdb80af6287 (diff)
held: the store's worker reads a document only while it is writable
A rejoin makes the node's document writable again only as it ends, in the lock of the swap, once the node checked the epoch (`Holding::follows`) and follows it or gives it up. The store's worker reads nothing, and writes nothing, while the document isn't writable, checked in the lock it reads under. Whether a rejoin runs isn't enough: its state is taken up for its last checks, while the epoch's document is still the node's, and a store started from that document would keep the checkpoint it read there, and put again what it took into the document the node goes back to.
Diffstat (limited to 'src/api/dashboard')
0 files changed, 0 insertions, 0 deletions