Skip to content

Commit 60c2838

Browse files
authored
Replace internal usages of SimpleFS with NIOFS (#74996)
SimpleFS is deprecated and removed in Lucene 9. This commit replaces its internal usages with NIOFS. Two other usages (store type and SMB) need to be deprecated before switching to niofs.
1 parent 2815d77 commit 60c2838

File tree

12 files changed

+52
-43
lines changed

12 files changed

+52
-43
lines changed

distribution/tools/keystore-cli/src/test/java/org/elasticsearch/common/settings/KeyStoreWrapperTests.java

Lines changed: 25 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99
package org.elasticsearch.common.settings;
1010

1111
import org.apache.lucene.codecs.CodecUtil;
12+
import org.apache.lucene.store.Directory;
1213
import org.apache.lucene.store.IOContext;
1314
import org.apache.lucene.store.IndexOutput;
14-
import org.apache.lucene.store.SimpleFSDirectory;
1515
import org.elasticsearch.common.Randomness;
1616
import org.elasticsearch.core.internal.io.IOUtils;
1717
import org.elasticsearch.env.Environment;
@@ -198,8 +198,10 @@ public void testUpgradeNoop() throws Exception {
198198
public void testFailWhenCannotConsumeSecretStream() throws Exception {
199199
assumeFalse("Cannot open unprotected keystore on FIPS JVM", inFipsJvm());
200200
Path configDir = env.configFile();
201-
SimpleFSDirectory directory = new SimpleFSDirectory(configDir);
202-
try (IndexOutput indexOutput = directory.createOutput("elasticsearch.keystore", IOContext.DEFAULT)) {
201+
try (
202+
Directory directory = newFSDirectory(configDir);
203+
IndexOutput indexOutput = directory.createOutput("elasticsearch.keystore", IOContext.DEFAULT)
204+
) {
203205
CodecUtil.writeHeader(indexOutput, "elasticsearch.keystore", 3);
204206
indexOutput.writeByte((byte) 0); // No password
205207
SecureRandom random = Randomness.createSecure();
@@ -227,8 +229,10 @@ public void testFailWhenCannotConsumeSecretStream() throws Exception {
227229
public void testFailWhenCannotConsumeEncryptedBytesStream() throws Exception {
228230
assumeFalse("Cannot open unprotected keystore on FIPS JVM", inFipsJvm());
229231
Path configDir = env.configFile();
230-
SimpleFSDirectory directory = new SimpleFSDirectory(configDir);
231-
try (IndexOutput indexOutput = directory.createOutput("elasticsearch.keystore", IOContext.DEFAULT)) {
232+
try (
233+
Directory directory = newFSDirectory(configDir);
234+
IndexOutput indexOutput = directory.createOutput("elasticsearch.keystore", IOContext.DEFAULT)
235+
) {
232236
CodecUtil.writeHeader(indexOutput, "elasticsearch.keystore", 3);
233237
indexOutput.writeByte((byte) 0); // No password
234238
SecureRandom random = Randomness.createSecure();
@@ -257,8 +261,10 @@ public void testFailWhenCannotConsumeEncryptedBytesStream() throws Exception {
257261
public void testFailWhenSecretStreamNotConsumed() throws Exception {
258262
assumeFalse("Cannot open unprotected keystore on FIPS JVM", inFipsJvm());
259263
Path configDir = env.configFile();
260-
SimpleFSDirectory directory = new SimpleFSDirectory(configDir);
261-
try (IndexOutput indexOutput = directory.createOutput("elasticsearch.keystore", IOContext.DEFAULT)) {
264+
try (
265+
Directory directory = newFSDirectory(configDir);
266+
IndexOutput indexOutput = directory.createOutput("elasticsearch.keystore", IOContext.DEFAULT)
267+
) {
262268
CodecUtil.writeHeader(indexOutput, "elasticsearch.keystore", 3);
263269
indexOutput.writeByte((byte) 0); // No password
264270
SecureRandom random = Randomness.createSecure();
@@ -285,8 +291,10 @@ public void testFailWhenSecretStreamNotConsumed() throws Exception {
285291
public void testFailWhenEncryptedBytesStreamIsNotConsumed() throws Exception {
286292
assumeFalse("Cannot open unprotected keystore on FIPS JVM", inFipsJvm());
287293
Path configDir = env.configFile();
288-
SimpleFSDirectory directory = new SimpleFSDirectory(configDir);
289-
try (IndexOutput indexOutput = directory.createOutput("elasticsearch.keystore", IOContext.DEFAULT)) {
294+
try (
295+
Directory directory = newFSDirectory(configDir);
296+
IndexOutput indexOutput = directory.createOutput("elasticsearch.keystore", IOContext.DEFAULT)
297+
) {
290298
CodecUtil.writeHeader(indexOutput, "elasticsearch.keystore", 3);
291299
indexOutput.writeByte((byte) 0); // No password
292300
SecureRandom random = Randomness.createSecure();
@@ -372,8 +380,10 @@ public void testIllegalSettingName() throws Exception {
372380
public void testBackcompatV1() throws Exception {
373381
assumeFalse("Can't run in a FIPS JVM as PBE is not available", inFipsJvm());
374382
Path configDir = env.configFile();
375-
SimpleFSDirectory directory = new SimpleFSDirectory(configDir);
376-
try (IndexOutput output = directory.createOutput("elasticsearch.keystore", IOContext.DEFAULT)) {
383+
try (
384+
Directory directory = newFSDirectory(configDir);
385+
IndexOutput output = directory.createOutput("elasticsearch.keystore", IOContext.DEFAULT)
386+
) {
377387
CodecUtil.writeHeader(output, "elasticsearch.keystore", 1);
378388
output.writeByte((byte) 0); // hasPassword = false
379389
output.writeString("PKCS12");
@@ -403,10 +413,12 @@ public void testBackcompatV1() throws Exception {
403413
public void testBackcompatV2() throws Exception {
404414
assumeFalse("Can't run in a FIPS JVM as PBE is not available", inFipsJvm());
405415
Path configDir = env.configFile();
406-
SimpleFSDirectory directory = new SimpleFSDirectory(configDir);
407416
byte[] fileBytes = new byte[20];
408417
random().nextBytes(fileBytes);
409-
try (IndexOutput output = directory.createOutput("elasticsearch.keystore", IOContext.DEFAULT)) {
418+
try (
419+
Directory directory = newFSDirectory(configDir);
420+
IndexOutput output = directory.createOutput("elasticsearch.keystore", IOContext.DEFAULT)
421+
) {
410422

411423
CodecUtil.writeHeader(output, "elasticsearch.keystore", 2);
412424
output.writeByte((byte) 0); // hasPassword = false

server/src/internalClusterTest/java/org/elasticsearch/cluster/routing/AllocationIdIT.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88

99
package org.elasticsearch.cluster.routing;
1010

11-
import org.apache.lucene.store.SimpleFSDirectory;
1211
import org.elasticsearch.action.admin.cluster.allocation.ClusterAllocationExplanation;
1312
import org.elasticsearch.action.admin.indices.stats.ShardStats;
1413
import org.elasticsearch.action.index.IndexRequestBuilder;
@@ -126,7 +125,7 @@ public void testFailedRecoveryOnAllocateStalePrimaryRequiresAnotherAllocateStale
126125
});
127126

128127
internalCluster().stopNode(node1);
129-
try(Store store = new Store(shardId, indexSettings, new SimpleFSDirectory(indexPath), new DummyShardLock(shardId))) {
128+
try(Store store = new Store(shardId, indexSettings, newFSDirectory(indexPath), new DummyShardLock(shardId))) {
130129
store.removeCorruptionMarker();
131130
}
132131
node1 = internalCluster().startNode(node1DataPathSettings);
@@ -204,7 +203,7 @@ private String historyUUID(String node, String indexName) {
204203
}
205204

206205
private void putFakeCorruptionMarker(IndexSettings indexSettings, ShardId shardId, Path indexPath) throws IOException {
207-
try(Store store = new Store(shardId, indexSettings, new SimpleFSDirectory(indexPath), new DummyShardLock(shardId))) {
206+
try(Store store = new Store(shardId, indexSettings, newFSDirectory(indexPath), new DummyShardLock(shardId))) {
208207
store.markStoreCorrupted(new IOException("fake ioexception"));
209208
}
210209
}

server/src/main/java/org/elasticsearch/common/settings/KeyStoreWrapper.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,11 @@
1313
import org.apache.lucene.index.IndexFormatTooOldException;
1414
import org.apache.lucene.store.BufferedChecksumIndexInput;
1515
import org.apache.lucene.store.ChecksumIndexInput;
16+
import org.apache.lucene.store.Directory;
1617
import org.apache.lucene.store.IOContext;
1718
import org.apache.lucene.store.IndexInput;
1819
import org.apache.lucene.store.IndexOutput;
19-
import org.apache.lucene.store.SimpleFSDirectory;
20+
import org.apache.lucene.store.NIOFSDirectory;
2021
import org.apache.lucene.util.SetOnce;
2122
import org.elasticsearch.cli.ExitCodes;
2223
import org.elasticsearch.cli.UserException;
@@ -205,7 +206,7 @@ public static KeyStoreWrapper load(Path configDir) throws IOException {
205206
return null;
206207
}
207208

208-
SimpleFSDirectory directory = new SimpleFSDirectory(configDir);
209+
Directory directory = new NIOFSDirectory(configDir);
209210
try (IndexInput indexInput = directory.openInput(KEYSTORE_FILENAME, IOContext.READONCE)) {
210211
ChecksumIndexInput input = new BufferedChecksumIndexInput(indexInput);
211212
final int formatVersion;
@@ -478,7 +479,7 @@ private void decryptLegacyEntries() throws GeneralSecurityException, IOException
478479
public synchronized void save(Path configDir, char[] password) throws Exception {
479480
ensureOpen();
480481

481-
SimpleFSDirectory directory = new SimpleFSDirectory(configDir);
482+
Directory directory = new NIOFSDirectory(configDir);
482483
// write to tmp file first, then overwrite
483484
String tmpFile = KEYSTORE_FILENAME + ".tmp";
484485
try (IndexOutput output = directory.createOutput(tmpFile, IOContext.DEFAULT)) {

server/src/main/java/org/elasticsearch/env/NodeEnvironment.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
import org.apache.lucene.store.FSDirectory;
1919
import org.apache.lucene.store.Lock;
2020
import org.apache.lucene.store.LockObtainFailedException;
21+
import org.apache.lucene.store.NIOFSDirectory;
2122
import org.apache.lucene.store.NativeFSLockFactory;
22-
import org.apache.lucene.store.SimpleFSDirectory;
2323
import org.elasticsearch.ElasticsearchException;
2424
import org.elasticsearch.Version;
2525
import org.elasticsearch.cluster.metadata.IndexMetadata;
@@ -540,7 +540,7 @@ public static void acquireFSLockForPaths(IndexSettings indexSettings, Path... sh
540540
// resolve the directory the shard actually lives in
541541
Path p = shardPaths[i].resolve("index");
542542
// open a directory (will be immediately closed) on the shard's location
543-
dirs[i] = new SimpleFSDirectory(p, indexSettings.getValue(FsDirectoryFactory.INDEX_LOCK_FACTOR_SETTING));
543+
dirs[i] = new NIOFSDirectory(p, indexSettings.getValue(FsDirectoryFactory.INDEX_LOCK_FACTOR_SETTING));
544544
// create a lock for the "write.lock" file
545545
try {
546546
locks[i] = dirs[i].obtainLock(IndexWriter.WRITE_LOCK_NAME);

server/src/main/java/org/elasticsearch/gateway/MetadataStateFormat.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
import org.apache.lucene.store.IOContext;
1919
import org.apache.lucene.store.IndexInput;
2020
import org.apache.lucene.store.IndexOutput;
21-
import org.apache.lucene.store.SimpleFSDirectory;
21+
import org.apache.lucene.store.NIOFSDirectory;
2222
import org.elasticsearch.ElasticsearchException;
2323
import org.elasticsearch.core.Tuple;
2424
import org.elasticsearch.common.lucene.store.IndexOutputOutputStream;
@@ -292,7 +292,7 @@ public final T read(NamedXContentRegistry namedXContentRegistry, Path file) thro
292292
}
293293

294294
protected Directory newDirectory(Path dir) throws IOException {
295-
return new SimpleFSDirectory(dir);
295+
return new NIOFSDirectory(dir);
296296
}
297297

298298

server/src/main/java/org/elasticsearch/index/store/Store.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
import org.apache.lucene.store.IndexInput;
3434
import org.apache.lucene.store.IndexOutput;
3535
import org.apache.lucene.store.Lock;
36-
import org.apache.lucene.store.SimpleFSDirectory;
36+
import org.apache.lucene.store.NIOFSDirectory;
3737
import org.apache.lucene.util.ArrayUtil;
3838
import org.apache.lucene.util.BytesRef;
3939
import org.apache.lucene.util.BytesRefBuilder;
@@ -432,7 +432,7 @@ private void closeInternal() {
432432
public static MetadataSnapshot readMetadataSnapshot(Path indexLocation, ShardId shardId, NodeEnvironment.ShardLocker shardLocker,
433433
Logger logger) throws IOException {
434434
try (ShardLock lock = shardLocker.lock(shardId, "read metadata snapshot", TimeUnit.SECONDS.toMillis(5));
435-
Directory dir = new SimpleFSDirectory(indexLocation)) {
435+
Directory dir = new NIOFSDirectory(indexLocation)) {
436436
failIfCorrupted(dir);
437437
return new MetadataSnapshot(null, dir, logger);
438438
} catch (IndexNotFoundException ex) {
@@ -451,9 +451,9 @@ public static MetadataSnapshot readMetadataSnapshot(Path indexLocation, ShardId
451451
* be opened, an exception is thrown
452452
*/
453453
public static void tryOpenIndex(Path indexLocation, ShardId shardId, NodeEnvironment.ShardLocker shardLocker,
454-
Logger logger) throws IOException, ShardLockObtainFailedException {
454+
Logger logger) throws IOException, ShardLockObtainFailedException {
455455
try (ShardLock lock = shardLocker.lock(shardId, "open index", TimeUnit.SECONDS.toMillis(5));
456-
Directory dir = new SimpleFSDirectory(indexLocation)) {
456+
Directory dir = new NIOFSDirectory(indexLocation)) {
457457
failIfCorrupted(dir);
458458
SegmentInfos segInfo = Lucene.readSegmentInfos(dir);
459459
logger.trace("{} loaded segment info [{}]", shardId, segInfo);

server/src/main/java/org/elasticsearch/index/translog/Checkpoint.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
import org.apache.lucene.store.Directory;
1818
import org.apache.lucene.store.IOContext;
1919
import org.apache.lucene.store.IndexInput;
20+
import org.apache.lucene.store.NIOFSDirectory;
2021
import org.apache.lucene.store.OutputStreamIndexOutput;
21-
import org.apache.lucene.store.SimpleFSDirectory;
2222
import org.elasticsearch.common.io.Channels;
2323
import org.elasticsearch.index.seqno.SequenceNumbers;
2424

@@ -141,7 +141,7 @@ public String toString() {
141141
}
142142

143143
public static Checkpoint read(Path path) throws IOException {
144-
try (Directory dir = new SimpleFSDirectory(path.getParent())) {
144+
try (Directory dir = new NIOFSDirectory(path.getParent())) {
145145
try (IndexInput indexInput = dir.openInput(path.getFileName().toString(), IOContext.DEFAULT)) {
146146
// We checksum the entire file before we even go and parse it. If it's corrupted we barf right here.
147147
CodecUtil.checksumEntireFile(indexInput);

server/src/main/java/org/elasticsearch/indices/analysis/HunspellService.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
import org.apache.logging.log4j.message.ParameterizedMessage;
1313
import org.apache.lucene.analysis.hunspell.Dictionary;
1414
import org.apache.lucene.store.Directory;
15-
import org.apache.lucene.store.SimpleFSDirectory;
15+
import org.apache.lucene.store.NIOFSDirectory;
1616
import org.elasticsearch.core.internal.io.IOUtils;
1717
import org.elasticsearch.ElasticsearchException;
1818
import org.elasticsearch.common.io.FileSystemUtils;
@@ -184,7 +184,7 @@ private Dictionary loadDictionary(String locale, Settings nodeSettings, Environm
184184

185185
affixStream = Files.newInputStream(affixFiles[0]);
186186

187-
try (Directory tmp = new SimpleFSDirectory(env.tmpFile())) {
187+
try (Directory tmp = new NIOFSDirectory(env.tmpFile())) {
188188
return new Dictionary(tmp, "hunspell", affixStream, dicStreams, ignoreCase);
189189
}
190190

server/src/test/java/org/elasticsearch/gateway/MetadataStateFormatTests.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
import org.apache.lucene.store.IOContext;
1515
import org.apache.lucene.store.IndexInput;
1616
import org.apache.lucene.store.MockDirectoryWrapper;
17-
import org.apache.lucene.store.SimpleFSDirectory;
1817
import org.apache.lucene.util.LuceneTestCase;
1918
import org.elasticsearch.cluster.ClusterModule;
2019
import org.elasticsearch.cluster.metadata.Metadata;
@@ -155,7 +154,7 @@ public void testCorruption() throws IOException {
155154
}
156155

157156
public static void corruptFile(Path fileToCorrupt, Logger logger) throws IOException {
158-
try (SimpleFSDirectory dir = new SimpleFSDirectory(fileToCorrupt.getParent())) {
157+
try (Directory dir = newFSDirectory(fileToCorrupt.getParent())) {
159158
long checksumBeforeCorruption;
160159
try (IndexInput input = dir.openInput(fileToCorrupt.getFileName().toString(), IOContext.DEFAULT)) {
161160
checksumBeforeCorruption = CodecUtil.retrieveChecksum(input);

server/src/test/java/org/elasticsearch/gateway/PersistedClusterStateServiceTests.java

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
import org.apache.lucene.store.FilterDirectory;
1919
import org.apache.lucene.store.IOContext;
2020
import org.apache.lucene.store.IndexOutput;
21-
import org.apache.lucene.store.SimpleFSDirectory;
2221
import org.elasticsearch.Version;
2322
import org.elasticsearch.cluster.ClusterName;
2423
import org.elasticsearch.cluster.ClusterState;
@@ -278,7 +277,7 @@ public void testFailsIfGlobalMetadataIsMissing() throws IOException {
278277
}
279278

280279
final Path brokenPath = nodeEnvironment.nodeDataPath();
281-
try (Directory directory = new SimpleFSDirectory(brokenPath.resolve(PersistedClusterStateService.METADATA_DIRECTORY_NAME))) {
280+
try (Directory directory = newFSDirectory(brokenPath.resolve(PersistedClusterStateService.METADATA_DIRECTORY_NAME))) {
282281
final IndexWriterConfig indexWriterConfig = new IndexWriterConfig();
283282
indexWriterConfig.setOpenMode(IndexWriterConfig.OpenMode.CREATE);
284283
try (IndexWriter indexWriter = new IndexWriter(directory, indexWriterConfig)) {
@@ -310,8 +309,8 @@ public void testFailsIfGlobalMetadataIsDuplicated() throws IOException {
310309
writeState(writer2, 0L, newClusterState, oldClusterState);
311310
}
312311

313-
try (Directory directory = new SimpleFSDirectory(brokenPath.resolve(PersistedClusterStateService.METADATA_DIRECTORY_NAME));
314-
Directory dupDirectory = new SimpleFSDirectory(dupPath.resolve(PersistedClusterStateService.METADATA_DIRECTORY_NAME))) {
312+
try (Directory directory = newFSDirectory(brokenPath.resolve(PersistedClusterStateService.METADATA_DIRECTORY_NAME));
313+
Directory dupDirectory = newFSDirectory(dupPath.resolve(PersistedClusterStateService.METADATA_DIRECTORY_NAME))) {
315314
try (IndexWriter indexWriter = new IndexWriter(directory, new IndexWriterConfig())) {
316315
indexWriter.addIndexes(dupDirectory);
317316
indexWriter.commit();
@@ -355,8 +354,8 @@ public void testFailsIfIndexMetadataIsDuplicated() throws IOException {
355354
writeState(writer2, 0L, newClusterState, oldClusterState);
356355
}
357356

358-
try (Directory directory = new SimpleFSDirectory(brokenPath.resolve(PersistedClusterStateService.METADATA_DIRECTORY_NAME));
359-
Directory dupDirectory = new SimpleFSDirectory(dupPath.resolve(PersistedClusterStateService.METADATA_DIRECTORY_NAME))) {
357+
try (Directory directory = newFSDirectory(brokenPath.resolve(PersistedClusterStateService.METADATA_DIRECTORY_NAME));
358+
Directory dupDirectory = newFSDirectory(dupPath.resolve(PersistedClusterStateService.METADATA_DIRECTORY_NAME))) {
360359
try (IndexWriter indexWriter = new IndexWriter(directory, new IndexWriterConfig())) {
361360
indexWriter.deleteDocuments(new Term("type", "global")); // do not duplicate global metadata
362361
indexWriter.addIndexes(dupDirectory);

server/src/test/java/org/elasticsearch/indices/analysis/AnalysisModuleTests.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
import org.apache.lucene.analysis.standard.StandardAnalyzer;
1919
import org.apache.lucene.analysis.tokenattributes.CharTermAttribute;
2020
import org.apache.lucene.store.Directory;
21-
import org.apache.lucene.store.SimpleFSDirectory;
2221
import org.elasticsearch.Version;
2322
import org.elasticsearch.cluster.metadata.IndexMetadata;
2423
import org.elasticsearch.common.io.Streams;
@@ -402,7 +401,7 @@ public void testRegisterHunspellDictionary() throws Exception {
402401
InputStream aff = getClass().getResourceAsStream("/indices/analyze/conf_dir/hunspell/en_US/en_US.aff");
403402
InputStream dic = getClass().getResourceAsStream("/indices/analyze/conf_dir/hunspell/en_US/en_US.dic");
404403
Dictionary dictionary;
405-
try (Directory tmp = new SimpleFSDirectory(environment.tmpFile())) {
404+
try (Directory tmp = newFSDirectory(environment.tmpFile())) {
406405
dictionary = new Dictionary(tmp, "hunspell", aff, dic);
407406
}
408407
AnalysisModule module = new AnalysisModule(environment, singletonList(new AnalysisPlugin() {

x-pack/plugin/core/src/main/java/org/elasticsearch/snapshots/sourceonly/SourceOnlySnapshotRepository.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
import org.apache.lucene.store.Directory;
1818
import org.apache.lucene.store.FSDirectory;
1919
import org.apache.lucene.store.FilterDirectory;
20-
import org.apache.lucene.store.SimpleFSDirectory;
20+
import org.apache.lucene.store.NIOFSDirectory;
2121
import org.elasticsearch.Version;
2222
import org.elasticsearch.action.ActionListener;
2323
import org.elasticsearch.cluster.ClusterState;
@@ -146,7 +146,7 @@ public void snapshotShard(SnapshotShardContext context) {
146146
final List<Closeable> toClose = new ArrayList<>(3);
147147
try {
148148
SourceOnlySnapshot.LinkedFilesDirectory overlayDir = new SourceOnlySnapshot.LinkedFilesDirectory(
149-
new SimpleFSDirectory(snapPath));
149+
new NIOFSDirectory(snapPath));
150150
toClose.add(overlayDir);
151151
Store tempStore = new Store(store.shardId(), store.indexSettings(), overlayDir, new ShardLock(store.shardId()) {
152152
@Override

0 commit comments

Comments
 (0)