Skip to content

Commit d6026e5

Browse files
authored
Merge branch 'main' into none_chunking_settings
2 parents d766fa7 + 72229b0 commit d6026e5

File tree

4 files changed

+10
-8
lines changed

4 files changed

+10
-8
lines changed

muted-tests.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -513,6 +513,12 @@ tests:
513513
- class: org.elasticsearch.packaging.test.DockerTests
514514
method: test081SymlinksAreFollowedWithEnvironmentVariableFiles
515515
issue: https://github.com/elastic/elasticsearch/issues/128867
516+
- class: org.elasticsearch.index.engine.ThreadPoolMergeExecutorServiceDiskSpaceTests
517+
method: testAvailableDiskSpaceMonitorWhenFileSystemStatErrors
518+
issue: https://github.com/elastic/elasticsearch/issues/129149
519+
- class: org.elasticsearch.index.engine.ThreadPoolMergeExecutorServiceDiskSpaceTests
520+
method: testUnavailableBudgetBlocksNewMergeTasksFromStartingExecution
521+
issue: https://github.com/elastic/elasticsearch/issues/129148
516522

517523
# Examples:
518524
#

qa/vector/src/main/java/org/elasticsearch/test/knn/KnnIndexTester.java

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -177,13 +177,8 @@ public static void main(String[] args) throws Exception {
177177
cmdLineArgs.vectorSpace(),
178178
cmdLineArgs.numDocs()
179179
);
180-
if (Files.exists(indexPath) == false) {
181-
if (cmdLineArgs.reindex() == false) {
182-
throw new IllegalArgumentException("Index path does not exist: " + indexPath);
183-
}
184-
if (cmdLineArgs.forceMerge()) {
185-
throw new IllegalArgumentException("Force merging without an existing index in: " + indexPath);
186-
}
180+
if (cmdLineArgs.reindex() == false && Files.exists(indexPath) == false) {
181+
throw new IllegalArgumentException("Index path does not exist: " + indexPath);
187182
}
188183
if (cmdLineArgs.reindex()) {
189184
knnIndexer.createIndex(result);

qa/vector/src/main/java/org/elasticsearch/test/knn/KnnIndexer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ private void readNext() throws IOException {
304304
bytes.position(0);
305305
// wrap around back to the start of the file if we hit the end:
306306
logger.warn("VectorReader hit EOF when reading " + this.input + "; now wrapping around to start of file again");
307-
this.input.position(position);
307+
input.position(position);
308308
bytesRead = Channels.readFromFileChannel(this.input, position, bytes);
309309
if (bytesRead < bytes.capacity()) {
310310
throw new IllegalStateException(

server/src/main/java/org/elasticsearch/TransportVersions.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,7 @@ static TransportVersion def(int id) {
192192
public static final TransportVersion ESQL_REGEX_MATCH_WITH_CASE_INSENSITIVITY_8_19 = def(8_841_0_44);
193193
public static final TransportVersion ESQL_QUERY_PLANNING_DURATION_8_19 = def(8_841_0_45);
194194
public static final TransportVersion SEARCH_SOURCE_EXCLUDE_VECTORS_PARAM_8_19 = def(8_841_0_46);
195+
public static final TransportVersion ML_INFERENCE_MISTRAL_CHAT_COMPLETION_ADDED_8_19 = def(8_841_0_47);
195196
public static final TransportVersion V_9_0_0 = def(9_000_0_09);
196197
public static final TransportVersion INITIAL_ELASTICSEARCH_9_0_1 = def(9_000_0_10);
197198
public static final TransportVersion INITIAL_ELASTICSEARCH_9_0_2 = def(9_000_0_11);

0 commit comments

Comments
 (0)