Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

During compaction the cache may not be loaded completely #2522

Merged
merged 1 commit into from
Sep 13, 2021

Conversation

derekcollison
Copy link
Member

This could lead to the filtered subject state being incorrect.

Signed-off-by: Derek Collison derek@nats.io

/cc @nats-io/core

… was lmb (active writing).

This could lead to the filtered subject state being incorrect.

Signed-off-by: Derek Collison <derek@nats.io>
Copy link
Member

@kozlovic kozlovic left a comment

Choose a reason for hiding this comment

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

LGTM but check my comment about first = last (to me if first == last, then it would mean that there is 1 message of that sequence, while if first = last+1 it can be indication that the first avail seq is "first" but there are currently no message. I think this is how it is in NATS Streaming).

Copy link
Member

@kozlovic kozlovic left a comment

Choose a reason for hiding this comment

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

LGTM

@derekcollison derekcollison merged commit 6e37b98 into main Sep 13, 2021
@derekcollison derekcollison deleted the fs-compact-mqtt branch September 13, 2021 23:27
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