-
-
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] Bad meta state on restart could cause deletion of assets. (#5767
) When checking for orphaned assets in a cluster, make sure we are properly synched with the leader before proceeding. When R>1 the server would rebuild them after getting the proper meta state, but in cases of R1 this could lead to dataloss. Signed-off-by: Derek Collison <derek@nats.io>
- Loading branch information
Showing
2 changed files
with
71 additions
and
9 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