-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
microcluster/internal/db: Add the API extensions check in the `db.Ope…
…n` function Here, we are checking for set equality between this node's current extensions and the other node's. In some cases, when this node's extensions set is 'bigger', we allow the other nodes to be upgraded in the hope to make all the system's extensions align properly. If the extensions sets are equal, we continue the checking process as usual. There are some cases that are not recoverable like the current node lacking extensions compared to the other one or the case where two nodes have a partial or no extensions overlap. In these case, we indicate what are the lacking extensions in the error messages. Signed-off-by: Gabriel Mougard <[email protected]>
- Loading branch information
1 parent
c531954
commit 87b7534
Showing
1 changed file
with
41 additions
and
18 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