Skip to content

Conversation

MauriceVanVeen
Copy link
Member

Every call to n.Applied would result in calling n.wal.FastState, we can prevent this from happening by adding some additional tracking in the raft struct itself to not need to call out. The raft struct is now also aligned.

Any tombstones that need to be written as part of the Compact are now flushed async, similar to PurgeEx.

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

Signed-off-by: Maurice van Veen <github@mauricevanveen.com>
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 July 29, 2025 09:00
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 0f00b0d into main Jul 29, 2025
48 checks passed
@neilalexander neilalexander deleted the maurice/nrg-less-state branch July 29, 2025 10:12
neilalexander added a commit that referenced this pull request Jul 29, 2025
Includes the following:

- Backported commit 12552e0 from #7018
- #7100 
- #7107
- #7109
- #7110
- #7111

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