fix a few versionAdded values in ElasticsearchExceptions#37877
fix a few versionAdded values in ElasticsearchExceptions#37877talevy merged 4 commits intoelastic:masterfrom
Conversation
TooManyBucketsException was introduced in v6.2 and SnapshotInProgressException was introduced in v6.7
|
Pinging @elastic/es-core-infra |
|
I am not familiar with the semantics of versionAdded. I haven't seen any issues |
|
It's used here, to decide whether to serialise the exception "properly" or whether to use a This means that, with today's Unfortunately you can only really catch this with a mixed-cluster REST test. I think we should consider adding an assertion that checks that once we've deserialised an exception from a remote node we believe that we could serialise it back to that node based on its version. I think that'd help catch this kind of asymmetry. |
|
Cool, thanks. will look into adding this |
|
@DaveCTurner I decided just to add unit tests for the serialization. Not sure if the above line is really testable since all the actions in ILM are done on the same node. So either the master node requested to delete or close an index on an upgraded 6.7 node, in which case, it would pick this up with no issue. This does make me realize that running these ILM steps against 6.6 nodes would cause things to fail. That being said, we are in the process of writing documentation basically saying that mixed-clusters is not supported let me know what you think! |
|
run elasticsearch-ci/default-distro |
|
run elasticsearch-ci/1 |
|
hey @DaveCTurner, mind taking another look? |
DaveCTurner
left a comment
There was a problem hiding this comment.
Sure, LGTM, sorry for the delay.
|
thanks David! |
…ersion * elastic/master: Do not set up NodeAndClusterIdStateListener in test (elastic#38110) ML: better handle task state race condition (elastic#38040) Soft-deletes policy should always fetch latest leases (elastic#37940) Handle scheduler exceptions (elastic#38014) Minor logging improvements (elastic#38084) Fix Painless void return bug (elastic#38046) Update PutFollowAction serialization post-backport (elastic#37989) fix a few versionAdded values in ElasticsearchExceptions (elastic#37877) Reenable BWC tests after backport of elastic#37899 (elastic#38093) Mute failing test Mute failing test Fail start on obsolete indices documentation (elastic#37786) SQL: Implement FIRST/LAST aggregate functions (elastic#37936) Un-mute NoMasterNodeIT.testNoMasterActionsWriteMasterBlock remove unused parser fields in RemoteResponseParsers
TooManyBucketsException was introduced in v6.2
and SnapshotInProgressException was introduced in v6.7