Skip to content

Commit 18f326a

Browse files
authored
[Test] RCS migration for Transform and CCR jobs (#96725)
This PRs adds migration tests for transform and CCR jobs from using RCS 1.0 to 2.0 then back to 1.0 again. It is not intended to cover all possible scenarios, but rather a proof to show migration is possible in at least some cases. Note the migration strategy here is to update remote cluster settings in place, i.e. reuse the same cluster alias and change its definition. Restart is required because a node needs to the cross-cluster API key form the keystore.
1 parent b0162a5 commit 18f326a

File tree

3 files changed

+726
-0
lines changed

3 files changed

+726
-0
lines changed

test/test-clusters/src/main/java/org/elasticsearch/test/cluster/MutableSettingsProvider.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ public void put(String setting, String value) {
2525
settings.put(setting, value);
2626
}
2727

28+
public void remove(String setting) {
29+
settings.remove(setting);
30+
}
31+
2832
public void clear() {
2933
settings.clear();
3034
}

0 commit comments

Comments
 (0)