Skip to content

Commit 354ea68

Browse files
committed
Merge branch 'master' into not-the-primary
* master: [TEST] Fail test if dummy doc is not found Test awaits Lucene snapshot upgrade Merge pull request #16371 from clintongormley/deprecate-multicast Merge pull request #16345 from lbrito1/patch-1 Fix minor typo in migrate_3_0.asciidoc
2 parents 16c3862 + cf28d62 commit 354ea68

File tree

5 files changed

+10
-7
lines changed

5 files changed

+10
-7
lines changed

core/src/test/java/org/elasticsearch/bwcompat/OldIndexBackwardsCompatibilityIT.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -279,6 +279,7 @@ public void testAllVersionsTested() throws Exception {
279279
}
280280
}
281281

282+
@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/16373")
282283
public void testOldIndexes() throws Exception {
283284
setupCluster();
284285

docs/reference/aggregations/pipeline.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ parameter to indicate the paths to the required metrics. The syntax for defining
2222

2323
Pipeline aggregations cannot have sub-aggregations but depending on the type it can reference another pipeline in the `buckets_path`
2424
allowing pipeline aggregations to be chained. For example, you can chain together two derivatives to calculate the second derivative
25-
(e.g. a derivative of a derivative).
25+
(i.e. a derivative of a derivative).
2626

2727
NOTE: Because pipeline aggregations only add to the output, when chaining pipeline aggregations the output of each pipeline aggregation
2828
will be included in the final output.

docs/reference/migration/migrate_2_2.asciidoc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,3 +48,8 @@ Proxy settings have been deprecated and renamed:
4848
If you are using proxy settings, update your settings as deprecated ones will
4949
be removed in next major version.
5050

51+
[float]
52+
=== Multicast plugin deprecated
53+
54+
The `discovery-multicast` plugin has been deprecated in 2.2.0 and has
55+
been removed in 3.0.0.

docs/reference/migration/migrate_3_0.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ with `_parent` field mapping created before version `2.0.0`. The data of these i
166166

167167
The format of the join between parent and child documents have changed with the `2.0.0` release. The old
168168
format can't read from version `3.0.0` and onwards. The new format allows for a much more efficient and
169-
scalable join between parent and child documents and the join data structures are stored on on disk
169+
scalable join between parent and child documents and the join data structures are stored on disk
170170
data structures as opposed as before the join data structures were stored in the jvm heap space.
171171

172172
==== `score_type` has been removed

test/framework/src/main/java/org/elasticsearch/test/ESIntegTestCase.java

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1435,11 +1435,8 @@ public void indexRandom(boolean forceRefresh, boolean dummyDocuments, boolean ma
14351435
if (!bogusIds.isEmpty()) {
14361436
// delete the bogus types again - it might trigger merges or at least holes in the segments and enforces deleted docs!
14371437
for (Tuple<String, String> doc : bogusIds) {
1438-
// see https://github.com/elasticsearch/elasticsearch/issues/8706
1439-
final DeleteResponse deleteResponse = client().prepareDelete(doc.v1(), RANDOM_BOGUS_TYPE, doc.v2()).get();
1440-
if (deleteResponse.isFound() == false) {
1441-
logger.warn("failed to delete a dummy doc [{}][{}]", doc.v1(), doc.v2());
1442-
}
1438+
assertTrue("failed to delete a dummy doc [" + doc.v1() + "][" + doc.v2() + "]",
1439+
client().prepareDelete(doc.v1(), RANDOM_BOGUS_TYPE, doc.v2()).get().isFound());
14431440
}
14441441
}
14451442
if (forceRefresh) {

0 commit comments

Comments
 (0)