-
Notifications
You must be signed in to change notification settings - Fork 25k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[CI] DownsampleActionSingleNodeTests testCannotDownsampleWhileOtherDownsampleInProgress failing #106403
Comments
Pinging @elastic/es-storage-engine (Team:StorageEngine) |
The cause of the downsampling failure:
I think logging should here be improved, so that we can get insight how the indexing failed. |
The reason that indexing failed is because the target index started to block writes:
|
Looking better at the test logs, it looks like the first downsample attempt completes successfully, but just after the persistent task completes, the duplicate downsample operations starts downsampling. Failing later, because the initial downsample operation made target index read only. I think just before the downsample shard operation starts, a check should be added that checks whether the
|
This is relevant in the case multiple downsample api invocations have been executed for the same source index, target index and fixed interval. Whether the target index is ready, is now also checked just before starting the downsample persistent tasks. Relates to elastic#106403
This is relevant in the case multiple downsample api invocations have been executed for the same source index, target index and fixed interval. Whether the target index is ready, is now also checked just before starting the downsample persistent tasks. Relates to #106403
No reported failures since the last 2 weeks, which was when #106563 was merged. I think that change stabilized this test. |
Build scan:
https://gradle-enterprise.elastic.co/s/hjehcw3ak4ets/tests/:x-pack:plugin:downsample:test/org.elasticsearch.xpack.downsample.DownsampleActionSingleNodeTests/testCannotDownsampleWhileOtherDownsampleInProgress
Reproduction line:
Applicable branches:
main
Reproduces locally?:
Didn't try
Failure history:
Failure dashboard for
org.elasticsearch.xpack.downsample.DownsampleActionSingleNodeTests#testCannotDownsampleWhileOtherDownsampleInProgress
Failure excerpt:
The text was updated successfully, but these errors were encountered: