Skip to content

Conversation

@yungene
Copy link
Contributor

@yungene yungene commented Nov 28, 2025

Change IndexShard.getSafeCommitInfo() to stop blocking on engine reset. This eliminates deadlock risk between engine reset and retention lease syncing.

This method is currently only used by the ReplicationTracker within getMinimumReasonableRetainedSeqNo(). If the engine is being reset, then this should result in no retention leases being expired for that attempt. I think this is acceptable as AsyncRetentionLeaseSyncTask runs every 30s, so leases will eventually be expired in another run.

Relates ES-13669

Change IndexShard.getSafeCommitInfo() to stop blocking on engine reset.
This eliminates deadlock risk between engine reset and retention lease
syncing.

Relates ES-13669
@yungene yungene self-assigned this Nov 28, 2025
@yungene yungene added >non-issue :Distributed Indexing/Engine Anything around managing Lucene and the Translog in an open shard. labels Nov 28, 2025
@elasticsearchmachine elasticsearchmachine added v9.3.0 serverless-linked Added by automation, don't add manually labels Nov 28, 2025
@yungene yungene marked this pull request as ready for review November 28, 2025 13:49
@elasticsearchmachine elasticsearchmachine added the Team:Distributed Indexing Meta label for Distributed Indexing team label Nov 28, 2025
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-distributed-indexing (Team:Distributed Indexing)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Distributed Indexing/Engine Anything around managing Lucene and the Translog in an open shard. >non-issue serverless-linked Added by automation, don't add manually Team:Distributed Indexing Meta label for Distributed Indexing team v9.3.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants