-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIXED] Fix for a call into mb.recalculateFirstForSubj() that did not…
… hold lock. (#4530) This unprotected access allowed the cache to most likely be flushed and after a subsequent writeMsgRecord would have the offset > slot value which can't happen if lock is held due to us loading cache properly at beginning of the function. Signed-off-by: Derek Collison <derek@nats.io> Resolves #4529
- Loading branch information
Showing
2 changed files
with
59 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters