Skip to content

Conversation

@fcofdez
Copy link
Contributor

@fcofdez fcofdez commented Jan 31, 2025

Stateless node rely on an external blob store to persist data, therefor it's not necessary to go through such checks when a shard store should be deleted.

Closes ES-10577

Stateless node rely on an external blob store to persist data, therefor
it's not necessary to go through such checks when a shard store
should be deleted.

Closes ES-10577
@fcofdez fcofdez added >non-issue :Distributed Indexing/Store Issues around managing unopened Lucene indices. If it touches Store.java, this is a likely label. Team:Distributed Indexing Meta label for Distributed Indexing team labels Jan 31, 2025
@elasticsearchmachine
Copy link
Collaborator

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

}

private void deleteShardStoreOnApplierThread(ShardId shardId, long clusterStateVersion) {
clusterService.getClusterApplierService()
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it wouldn't be necessary to run this on the applier thread, but I wanted to keep the changes minimal.

@elasticsearchmachine elasticsearchmachine added the serverless-linked Added by automation, don't add manually label Jan 31, 2025
@fcofdez
Copy link
Contributor Author

fcofdez commented Jan 31, 2025

@elasticmachine update branch

@fcofdez
Copy link
Contributor Author

fcofdez commented Feb 6, 2025

@elasticmachine update branch

Copy link
Contributor

@henningandersen henningandersen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@fcofdez fcofdez merged commit 0015d56 into elastic:main Feb 6, 2025
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Distributed Indexing/Store Issues around managing unopened Lucene indices. If it touches Store.java, this is a likely label. >non-issue serverless-linked Added by automation, don't add manually Team:Distributed Indexing Meta label for Distributed Indexing team v9.1.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants