-
Notifications
You must be signed in to change notification settings - Fork 138
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
#6718) * [3.1.4 Backport] CBG-3751: Cherry-pick CBG-3742: Allow registry rollbacks based on db config doc rollbacks (#6709) * Extend startBootstrapServerWithoutConfigPolling polling interval * tidy return * Use config from bucket to roll back if no previous version is found (config vbucket rollback/config restore) * wip * Mark conflicting rollbacks as invalid in db registry and prevent loading by SG. Allows for manual repair of database config. * Improve log message for invalid database configurations - handle multiple scenarios * Handle unknown reasons why a db could be invalid * Do database repair via normal Admin REST API rather to ensure externally recoverable * Equal(len())->Len() * Rename stat * UD->MD fix * lower retry timeout for testing * Require 3 datastores * Replace registry entry with one built from config * Reword unexpected InvalidDatabase case * Push mutliDatabsaeRollback into subtest * fix ineffassign * Fix non-deterministic slice ordering from RequireInvalidDatabaseConfigNames helper * New tests require bootstrap connection
- Loading branch information
Showing
8 changed files
with
377 additions
and
41 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
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
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
Oops, something went wrong.