Repository navigation
Commit 9cac8c2
cellsync: a displacement check waits for a branch already being kept
Displaced returned at once when the hold was already stale, but a background
heartbeat or follower sets stale before it finishes saving and branching the
kept work. CheckLease could then return before the branch map was written.
Displaced now joins lost under flushMu, whose own checks still prevent a
second resolution, so the caller only returns once the kept branch exists.
The window grew once displacement settles held calls before branching.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>1 parent 3d3e90e commit 9cac8c2
1 file changed
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
536 | 536 | | |
537 | 537 | | |
538 | 538 | | |
539 | | - | |
540 | | - | |
541 | | - | |
542 | | - | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
543 | 543 | | |
544 | 544 | | |
545 | 545 | | |
| |||
0 commit comments