Skip to content

Commit ccd1698

Browse files
committed
iter
1 parent 0907c5d commit ccd1698

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -175,9 +175,7 @@ public IndexInput openInput(String name, IOContext context) throws IOException {
175175
// (tmp fdt files should only exist when index sorting is enabled)
176176
if (directIODelegate != null && LuceneFilesExtensions.TMP.getExtension().equals(getExtension(name)) && name.contains("fdt")) {
177177
// we need to do these checks on the outer directory since the inner doesn't know about pending deletes
178-
ensureOpen();
179-
ensureCanRead(name);
180-
return directIODelegate.openInput(name, context);
178+
return openInputDirect(name, context);
181179
}
182180

183181
if (useDelegate(name, context)) {

0 commit comments

Comments
 (0)