-
Notifications
You must be signed in to change notification settings - Fork 25.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Pass compatibility versions in ClusterCoordinationPlugin (#99396)
In #99321, we passed CompatibilityVersions into GatewayMetaState so that a node's initial cluster state will hold correct initial values for CompatibilityVersions for a single node, and not have to wait until a node join event to populate that part of cluster state. However, a ClusterCoordinationPlugin may provide a different `PersistedClusterStateService`, which might also need its own access to CompatibilityVersions. Here, we add a `CompatibilityVersions` argument to `PersistedClusterStateServiceFactory#newPersistedClusterStateService` so that an implementation of `PersistedClusterStateServiceFactory` can pass CompatibilityVersions into whatever mechanism it uses for creating the initial cluster state.
- Loading branch information
1 parent
79aba8c
commit e386a3f
Showing
3 changed files
with
44 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
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