Commit 1c28b88
authored
fix: serialize configure locator updates (#416)
Summary:
- Apply configure updates and long-lived locator reconfiguration under
the same configuration write lock.
- Keep refresh-state sync from interleaving with shared locator
reconfiguration.
- Add a regression test that blocks locator configuration and verifies
configuration readers cannot observe the new state early.
Validation:
- cargo test -p pet
test_configure_publishes_state_after_shared_locators_are_configured
- cargo test -p pet jsonrpc::tests::test_
- cargo fmt --all
- cargo clippy --all -- -D warnings
Fixes #3851 parent 2ac76d5 commit 1c28b88
2 files changed
Lines changed: 369 additions & 46 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
190 | 190 | | |
191 | 191 | | |
192 | 192 | | |
193 | | - | |
| 193 | + | |
194 | 194 | | |
195 | 195 | | |
196 | 196 | | |
| |||
0 commit comments