Closed
Description
Description
In #81809 we introduces a cluster setting that enables a pre-flight compatibility check for search requests going out from the coordinating node that checks if the request contains parts or features that are not supported on the previous minor version to quickly check full CCS compatibility for them. The error message the caller gets when e.g. using an aggregation that was just recently added could be improved. Currently the error message itself reads something like:
[class org.elasticsearch.action.search.SearchRequest] is not compatible with version 8.1.0 and the 'search.check_ccs_compatibility' setting is enabled.
The stack trace contains more information about e.g. the NamedWriteable that triggered the check to fail, but we might be able to surface more information in the error message itself.