core/src/main/java/org/elasticsearch/indices/IndicesService.java
public void deleteShardStore(String reason, ShardLock lock, IndexSettings indexSettings) throws IOException {
        ShardId shardId = lock.getShardId();
        logger.trace("{} deleting shard reason [{}]", shardId, reason);
        nodeEnv.deleteShardDirectoryUnderLock(lock, indexSettings);
    }
/**
     * Deletes the shard with an already acquired shard lock.
     * @param reason the reason for the shard deletion
     * @param lock the lock of the shard to delete
     * @param indexSettings the shards index settings.
     * @throws IOException if an IOException occurs
     */
Deletes the shard with an already acquired shard lock.
@param reason the reason for the shard deletion
@param lock the lock of the shard to delete
@param indexSettings the shards index settings.
Deletes the shard with an already acquired shard lock . @param reason the reason for the shard deletion @param lock the lock of the shard to delete @param indexSettings the shards index settings .
public void deleteShardStore(String reason, ShardLock lock, IndexSettings indexSettings) throws IOException {
        ShardId shardId = lock.getShardId();
        logger.trace("{} deleting shard reason [{}]", shardId, reason);
        nodeEnv.deleteShardDirectoryUnderLock(lock, indexSettings);
    }
public void deleteShardStore ( String reason , ShardLock lock , IndexSettings indexSettings ) throws IOException { ShardId shardId = lock . getShardId ( ) ; logger . trace ( "{} deleting shard reason [{}]" , shardId , reason ) ; nodeEnv . deleteShardDirectoryUnderLock ( lock , indexSettings ) ; }
Deletes the shard with an already acquired shard lock.
Deletes the shard with an already acquired shard lock .