-
Notifications
You must be signed in to change notification settings - Fork 24.8k
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
org.elasticsearch.cluster.SimpleDataNodesIT » testAutoExpandReplicasAdjustedWhenDataNodeJoins #45237
Comments
Pinging @elastic/es-distributed |
If the index gets deleted while we are creating a retention lease for peer recovery, we can release the Store using CancellableThreads. And if we hold the last reference to the Store, we will verify the node lock before deleting the Store. Accessing the node lock (i.e, NativeFSLock) performs some I/O on FileChannel. If CancellableThreads is canceled, the node lock becomes invalid as its channel is closed. I am working on the fix. |
Possibly related test failure in SimpleIndexStateIT? https://gradle-enterprise.elastic.co/s/a6as57hu5yt22/console-log#L4871
|
Today we can release a Store using CancellableThreads. If we are holding the last reference, then we will verify the node lock before deleting the store. Checking node lock performs some I/O on FileChannel. If the current thread is interrupted, then the channel will be closed and the node lock will also be invalid. Closes #45237
Today we can release a Store using CancellableThreads. If we are holding the last reference, then we will verify the node lock before deleting the store. Checking node lock performs some I/O on FileChannel. If the current thread is interrupted, then the channel will be closed and the node lock will also be invalid. Closes #45237
Example build failure
https://scans.gradle.com/s/exu7mrkb4htbs/tests/kyv2y2z3r4v7m-cdlwdmcdh66q6
Reproduction line
does not reproduce locally
Example relevant log:
The text was updated successfully, but these errors were encountered: