-
Notifications
You must be signed in to change notification settings - Fork 25k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[CCR] Add validation checks that were left out of #30120 #30463
Conversation
Pinging @elastic/es-distributed |
@@ -44,6 +44,10 @@ public void testFollowIndex() throws Exception { | |||
final String leaderIndexName = "test_index1"; | |||
if (runningAgainstLeaderCluster) { | |||
logger.info("Running against leader cluster"); | |||
Settings indexSettings = Settings.builder() | |||
.put("index.soft_deletes", true) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@martijnvg index.soft_deletes
has been renamed to index.soft_deletes.enabled
as we have one more setting under this group.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@dnhatn Thanks, I will change this.
c176b67
to
80f5ccb
Compare
@jasontedor @dnhatn I've updated this PR. |
* es/ccr: (37 commits) Default to one shard (elastic#30539) Unmute IndexUpgradeIT tests Forbid expensive query parts in ranking evaluation (elastic#30151) Docs: Update HighLevelRestClient migration docs (elastic#30544) Clients: Switch to new performRequest (elastic#30543) [TEST] Fix typo in MovAvgIT test Add missing dependencies on testClasses (elastic#30527) [TEST] Mute ML test that needs updating to following ml-cpp changes Document woes between auto-expand-replicas and allocation filtering (elastic#30531) Moved tokenizers to analysis common module (elastic#30538) Adjust copy settings versions Mute ShrinkIndexIT suite SQL: SYS TABLES ordered according to *DBC specs (elastic#30530) Deprecate not copy settings and explicitly disallow (elastic#30404) [ML] Improve state persistence log message Build: Add mavenPlugin cluster configuration method (elastic#30541) Re-enable FlushIT tests Bump Gradle heap to 2 GB (elastic#30535) SQL: Use request flavored methods in tests (elastic#30345) Suppress hdfsFixture if there are spaces in the path (elastic#30302) ...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM; I left one comment.
} | ||
} | ||
|
||
private static IndexMetaData createIMD(String index, int numShards, String... settings) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would Tuple<String, String>... be claaner? Then you can side-step the modulo check, and you can iterate over pairs which is more natural for what you're doing here?
Waiting before #30120 is merged.