forked from elastic/elasticsearch
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduce flag for testing CCS compatibility (elastic#81809)
CCS works with a subset of APIs and features depending on the versions of the clusters being communicated with. Currently we limit this CCS compliance to one minor version backward and one minor forward. This change adds a setting useful for testing in clients like Kibana that can be turned on to check if a search request sent to one of the endpoints that are supporting CCS is compatible with a cluster that is on one minor version back. We do this by trying to serialize the request to a stream with the earlier version. Features and components that are not supported in that version should throw errors upon atempted serialization to indicate they are not compatible. In addition we need components extending NamedWriteable (e.g. new queries) to also error when they are written to a stream that has a version before the version they were released.
- Loading branch information
Christoph Büscher
authored
Jan 27, 2022
1 parent
4ad7814
commit 051e1d6
Showing
41 changed files
with
878 additions
and
30 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
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.