Commit cd48ae3
committed
fix(qwp): cover flushAndGetSequence's residual seal in the commit boundary
Self-review finding: flushAndGetSequence() has the same belt-and-braces
residual sealAndSwapBuffer() as close(), but the commit-boundary update
was only added to close()'s copy. A non-deferred residual publish there
left lastCommitBoundaryFsn stale, so drainOnClose targeted a lower FSN
and close() could return before the residual frame's ack -- memory-mode
data loss on JVM exit, the exact bug class this series fixes.1 parent c6eadf0 commit cd48ae3
1 file changed
Lines changed: 7 additions & 0 deletions
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1533 | 1533 | | |
1534 | 1534 | | |
1535 | 1535 | | |
| 1536 | + | |
| 1537 | + | |
| 1538 | + | |
| 1539 | + | |
| 1540 | + | |
| 1541 | + | |
| 1542 | + | |
1536 | 1543 | | |
1537 | 1544 | | |
1538 | 1545 | | |
| |||
0 commit comments