Commit 88f99de
committed
Skip mixed-mode assertion for replayed monitor updates
When a node restarts and switches from async to sync persistence, the
in-flight monitor updates from the previous session are replayed as
background events. These replayed updates are resubmitted to the Watch
which now returns Completed, while earlier in-flight updates are still
queued as background events. This triggered a false panic in the
assertion that guards against out-of-order monitor update completion.
Track whether an update is a replay (already present in
in_flight_monitor_updates) and skip the assertion for replays, since
the remaining in-flight updates will be submitted by subsequent
background events.
AI tools were used in preparing this commit.1 parent d830f10 commit 88f99de
1 file changed
Lines changed: 14 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10365 | 10365 | | |
10366 | 10366 | | |
10367 | 10367 | | |
10368 | | - | |
10369 | | - | |
10370 | | - | |
10371 | | - | |
10372 | | - | |
| 10368 | + | |
| 10369 | + | |
| 10370 | + | |
| 10371 | + | |
| 10372 | + | |
| 10373 | + | |
10373 | 10374 | | |
10374 | 10375 | | |
10375 | 10376 | | |
| |||
10382 | 10383 | | |
10383 | 10384 | | |
10384 | 10385 | | |
| 10386 | + | |
| 10387 | + | |
| 10388 | + | |
| 10389 | + | |
| 10390 | + | |
| 10391 | + | |
| 10392 | + | |
10385 | 10393 | | |
10386 | 10394 | | |
10387 | 10395 | | |
10388 | 10396 | | |
10389 | | - | |
| 10397 | + | |
10390 | 10398 | | |
10391 | 10399 | | |
10392 | 10400 | | |
| |||
0 commit comments