Skip to content

[FIXED] Filestore detect delete gap with last SkipMsg#7399

Merged
neilalexander merged 1 commit intomainfrom
maurice/fs-skip-gap
Oct 7, 2025
Merged

[FIXED] Filestore detect delete gap with last SkipMsg#7399
neilalexander merged 1 commit intomainfrom
maurice/fs-skip-gap

Conversation

@MauriceVanVeen
Copy link
Copy Markdown
Member

If there was a gap in messages in the filestore, and the very last message was an erased message it would not register these as deletes properly. This would then result in a all kinds of issues: constant cache invalidation, slow reads/catchup, and generally the filestore not knowing these messages were deleted.

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

@MauriceVanVeen MauriceVanVeen requested a review from a team as a code owner October 6, 2025 17:58
Signed-off-by: Maurice van Veen <github@mauricevanveen.com>
Copy link
Copy Markdown
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 48a757b into main Oct 7, 2025
88 of 92 checks passed
@neilalexander neilalexander deleted the maurice/fs-skip-gap branch October 7, 2025 08:18
neilalexander added a commit that referenced this pull request Oct 8, 2025
)

Follow-up of #7399, when a
block contains multiple `SkipMsgs` and is empty at the start (or fully),
then these should not be added as deleted messages to the dmap.

Signed-off-by: Maurice van Veen <github@mauricevanveen.com>
neilalexander added a commit that referenced this pull request Oct 10, 2025
Includes the following:

- #7400
- #7399
- #7401
- #7402
- #7404
- #7405
- #7409
- #7413

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

- #7380
- #7384
- #7385
- #7388
- #7395
- #7400
- #7399
- #7401
- #7402
- #7423
- #7424
- #7411
- #7428
- #7429
- #7431
- #7435
- #7433
- #7443
- #7455
- #7465
- #7466
- #7460
- #7484
- #7479

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