Skip to content

Comments

[FIXED] SyncBlocks may lose pending writes#7594

Merged
neilalexander merged 1 commit intomainfrom
maurice/sync-pending
Dec 1, 2025
Merged

[FIXED] SyncBlocks may lose pending writes#7594
neilalexander merged 1 commit intomainfrom
maurice/sync-pending

Conversation

@MauriceVanVeen
Copy link
Member

If the filestore was configured to be AsyncFlush, for example for a replicated stream since 2.12+, if the process was paused for long enough and the sync_interval triggered syncBlocks. Pending writes that weren't written out yet could be lost.

Signed-off-by: Maurice van Veen github@mauricevanveen.com

Signed-off-by: Maurice van Veen <github@mauricevanveen.com>
@MauriceVanVeen MauriceVanVeen requested a review from a team as a code owner December 1, 2025 15:18
Copy link
Member

@neilalexander neilalexander left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@neilalexander neilalexander merged commit dd3a695 into main Dec 1, 2025
69 of 70 checks passed
@neilalexander neilalexander deleted the maurice/sync-pending branch December 1, 2025 15:50
neilalexander added a commit that referenced this pull request Dec 5, 2025
Includes the following:

- #7581
- #7585
- #7586
- #7565
- #7588
- #7593
- #7589
- #7594
- #7595
- #7596
- #7597
- #7598
- #7600
- #7601
- #7602
- #7604
- #7605
- #7607
- #7609
- #7610
- #7616
- #7614

Signed-off-by: Neil Twigg <neil@nats.io>
neilalexander added a commit that referenced this pull request Dec 18, 2025
Includes the following:

- #7553
- #7555
- #7579
- #7578
- #7581
- #7585
- #7586
- #7588
- #7593
- #7594
- #7595
- #7596
- #7597
- #7598
- #7601
- #7604
- #7605
- #7610
- #7616
- #7614
- #7622
- #7619
- #7624
- #7625
- #7627
- #7636
- #7637
- #7643
- #7648
- #7634
- #7655
- #7656

Signed-off-by: Neil Twigg <neil@nats.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants