-
Notifications
You must be signed in to change notification settings - Fork 25.1k
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] ShrinkIndexIT testShrinkIndexPrimaryTerm failing #122974
Comments
This has been muted on branch main Mute Reasons:
Build Scans: |
…ShrinkIndexPrimaryTerm #122974
Pinging @elastic/es-distributed-coordination (Team:Distributed Coordination) |
The test tripped a new assertion added in #122374
It seems to be a race condition between failing a shard and indexing a document. Tagging this with both |
Pinging @elastic/es-storage-engine (Team:StorageEngine) |
Pinging @elastic/es-distributed-indexing (Team:Distributed Indexing) |
@tlrx I think we may need to invoke |
I think as part of |
…er(...) This method gets called from `InternalEngine#resolveDocVersion(...)`, which gets during indexing (via `InternalEngine.index(...)`). When `InternalEngine.index(...)` gets invoked, the InternalEngine only ensures that it holds a ref to the engine via Engine#acquireEnsureOpenRef(), but this doesn't ensure whether it holds a reference to the store. Closes elastic#122974
@martijnvg yes, I think that in the case of the engine being failed concurrently then the store might be already closed at the time |
@tlrx No worries and thanks for explaining the scenario where engine doesn't hold a store lock. |
…er(...) (elastic#123010) This method gets called from `InternalEngine#resolveDocVersion(...)`, which gets during indexing (via `InternalEngine.index(...)`). When `InternalEngine.index(...)` gets invoked, the InternalEngine only ensures that it holds a ref to the engine via Engine#acquireEnsureOpenRef(), but this doesn't ensure whether it holds a reference to the store. Closes elastic#122974 * Update docs/changelog/123010.yaml
…er(...) (elastic#123010) This method gets called from `InternalEngine#resolveDocVersion(...)`, which gets during indexing (via `InternalEngine.index(...)`). When `InternalEngine.index(...)` gets invoked, the InternalEngine only ensures that it holds a ref to the engine via Engine#acquireEnsureOpenRef(), but this doesn't ensure whether it holds a reference to the store. Closes elastic#122974 * Update docs/changelog/123010.yaml
…er(...) (#123010) (#123241) This method gets called from `InternalEngine#resolveDocVersion(...)`, which gets during indexing (via `InternalEngine.index(...)`). When `InternalEngine.index(...)` gets invoked, the InternalEngine only ensures that it holds a ref to the engine via Engine#acquireEnsureOpenRef(), but this doesn't ensure whether it holds a reference to the store. Closes #122974 * Update docs/changelog/123010.yaml
…er(...) (#123010) (#123242) This method gets called from `InternalEngine#resolveDocVersion(...)`, which gets during indexing (via `InternalEngine.index(...)`). When `InternalEngine.index(...)` gets invoked, the InternalEngine only ensures that it holds a ref to the engine via Engine#acquireEnsureOpenRef(), but this doesn't ensure whether it holds a reference to the store. Closes #122974 * Update docs/changelog/123010.yaml
Build Scans:
Reproduction Line:
Applicable branches:
main
Reproduces locally?:
N/A
Failure History:
See dashboard
Failure Message:
Issue Reasons:
Note:
This issue was created using new test triage automation. Please report issues or feedback to es-delivery.
The text was updated successfully, but these errors were encountered: