Skip to content

Commit 154496a

Browse files
authored
Re-enable vector.rescoring.directio (#128898)
This commit re-enables vector.rescoring.directio, which was previously disabled because of issues with serverless. resolves #128829
1 parent efa09df commit 154496a

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

muted-tests.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -478,9 +478,6 @@ tests:
478478
- class: org.elasticsearch.index.codec.vectors.es818.ES818BinaryQuantizedVectorsFormatTests
479479
method: testSimpleOffHeapSizeFSDir
480480
issue: https://github.com/elastic/elasticsearch/issues/128800
481-
- class: org.elasticsearch.index.store.DirectIOIT
482-
method: testDirectIOUsed
483-
issue: https://github.com/elastic/elasticsearch/issues/128829
484481
- class: org.elasticsearch.packaging.test.DockerTests
485482
method: test150MachineDependentHeap
486483
issue: https://github.com/elastic/elasticsearch/issues/128120

server/src/main/java/org/elasticsearch/index/codec/vectors/es818/DirectIOLucene99FlatVectorsReader.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
@SuppressForbidden(reason = "Copied from lucene")
5858
public class DirectIOLucene99FlatVectorsReader extends FlatVectorsReader implements OffHeapStats {
5959

60-
private static final boolean USE_DIRECT_IO = Boolean.parseBoolean(System.getProperty("vector.rescoring.directio", "false"));
60+
private static final boolean USE_DIRECT_IO = Boolean.parseBoolean(System.getProperty("vector.rescoring.directio", "true"));
6161

6262
private static final long SHALLOW_SIZE = RamUsageEstimator.shallowSizeOfInstance(DirectIOLucene99FlatVectorsReader.class);
6363

0 commit comments

Comments
 (0)