Skip to content

Commit

Permalink
Upgrade to Lucene-7.4.0-snapshot-cc2ee23050 (#30778)
Browse files Browse the repository at this point in the history
The new snapshot includes LUCENE-8324 which fixes missing checkpoint
after a fully deletes segment is dropped on flush. This snapshot should
resolves failed tests in the CorruptedFileIT suite.

Closes #30741
Closes #30577
  • Loading branch information
dnhatn authored May 22, 2018
1 parent 9ffeb17 commit 1918a30
Show file tree
Hide file tree
Showing 53 changed files with 28 additions and 34 deletions.
2 changes: 1 addition & 1 deletion buildSrc/version.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
elasticsearch = 7.0.0-alpha1
lucene = 7.4.0-snapshot-59f2b7aec2
lucene = 7.4.0-snapshot-cc2ee23050

# optional dependencies
spatial4j = 0.7
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1e28b448387ec05d655f8c81ee54e13ff2975a4d

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
452c9a9f86b79b9b3eaa7d6aa782e189d5bcfe8f

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
48c76a922bdfc7f50b1b6fe22e9456c555f3f990

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
4db5777df468b0867ff6539c9ab687e0ed6cab41

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0e09e6b011ab2b1a0e3e0e1df2ab2a91dca8ba23

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ceefa0f9789ab9ea5c8ab9f67ed7a601a3ae6aa9

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
b013adc183e52a74795ad3d3032f4d0f9db30b73

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
95300f29418f60e57e022d934d3462be9e1e2225

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
96ab108569c77932ecb17c45421affece207df5c

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
72d09ca50979f716a57f53f2de33d55023a166ec

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
e118e4d05070378516b9055184b74498ba528dee

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2b2ea6bfe6fa159bbf205bf7f7fa2ed2c22bbffc

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
423e4fff9276101d845d6073dc6cd27504def207

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
27561038da2edcae3ecc3a08b0a52824966af87a

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
d7d422159f705261784d121e24877119d9c95083

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
fc09508fde6ba87f241d7e3148d9e310c0db9cb9

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
201fdf3432ff3fef0f48c38c2c0f482c144f6868

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
917df8c8d08952a012a34050b183b6204ae7081b

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
caff84fa66cb0376835c39f3d4ca7dfd2177d8f4

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
e1bce61a9d9129a8d0fdd3127a84665d29f53eb0

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3a2e4373d79fda968a078971efa2cb8ec9ff65b0

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
7f14927e5c3c1c85c4c5b3681c28c5e36f241dda

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
6e708a38c957a655e0cfedb06a1b9aa892929db0
Original file line number Diff line number Diff line change
Expand Up @@ -470,8 +470,6 @@ protected void sendRequest(Connection connection, long requestId, String action,
* TODO once checksum verification on snapshotting is implemented this test needs to be fixed or split into several
* parts... We should also corrupt files on the actual snapshot and check that we don't restore the corrupted shard.
*/
@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/30577")
@TestLogging("org.elasticsearch.repositories:TRACE,org.elasticsearch.snapshots:TRACE,org.elasticsearch.index.engine:DEBUG")
public void testCorruptFileThenSnapshotAndRestore() throws ExecutionException, InterruptedException, IOException {
int numDocs = scaledRandomIntBetween(100, 1000);
internalCluster().ensureAtLeastNumDataNodes(2);
Expand Down Expand Up @@ -520,10 +518,6 @@ public void testCorruptFileThenSnapshotAndRestore() throws ExecutionException, I
break;
}
}
if (snapshotState != SnapshotState.PARTIAL) {
logger.info("--> listing shard files for investigation");
files.forEach(f -> logger.info("path: {}", f.toAbsolutePath()));
}
assertThat(createSnapshotResponse.getSnapshotInfo().state(), equalTo(SnapshotState.PARTIAL));
assertThat(corruptedFile, notNullValue());
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -217,9 +217,9 @@ private static String toCamelCase(String s) {
// should we expose it, or maybe think about higher level integration of the
// fake term frequency feature (LUCENE-7854)
.put("delimitedtermfrequency", Void.class)
// LUCENE-8273: ConditionalTokenFilter allows analysis chains to skip
// LUCENE-8273: ProtectedTermFilterFactory allows analysis chains to skip
// particular token filters based on the attributes of the current token.
.put("termexclusion", Void.class)
.put("protectedterm", Void.class)

.immutableMap();

Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
e118e4d05070378516b9055184b74498ba528dee

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
e118e4d05070378516b9055184b74498ba528dee

0 comments on commit 1918a30

Please sign in to comment.