mirror of https://github.com/apache/lucene.git
SOLR-13849: Ignore events created by running triggers.
This commit is contained in:
parent
b7309899e1
commit
ac418540d0
|
@ -215,10 +215,16 @@ public class TestSnapshotCloudManager extends SolrCloudTestCase {
|
||||||
|
|
||||||
// ignore these because SimCloudManager always modifies them
|
// ignore these because SimCloudManager always modifies them
|
||||||
private static final Set<Pattern> IGNORE_DISTRIB_STATE_PATTERNS = new HashSet<>(Arrays.asList(
|
private static final Set<Pattern> IGNORE_DISTRIB_STATE_PATTERNS = new HashSet<>(Arrays.asList(
|
||||||
Pattern.compile("/autoscaling/triggerState.*"),
|
Pattern.compile("/autoscaling/triggerState/.*"),
|
||||||
Pattern.compile("/clusterstate\\.json"), // different format in SimClusterStateProvider
|
// some triggers may have run after the snapshot was taken
|
||||||
|
Pattern.compile("/autoscaling/events/.*"),
|
||||||
|
// we always use format 1 in SimClusterStateProvider
|
||||||
|
Pattern.compile("/clusterstate\\.json"),
|
||||||
|
// depending on the startup sequence leaders may differ
|
||||||
Pattern.compile("/collections/[^/]+?/leader_elect/.*"),
|
Pattern.compile("/collections/[^/]+?/leader_elect/.*"),
|
||||||
Pattern.compile("/collections/[^/]+?/leaders/.*"),
|
Pattern.compile("/collections/[^/]+?/leaders/.*"),
|
||||||
|
Pattern.compile("/collections/[^/]+?/terms/.*"),
|
||||||
|
Pattern.compile("/overseer_elect/election/.*"),
|
||||||
Pattern.compile("/live_nodes/.*")
|
Pattern.compile("/live_nodes/.*")
|
||||||
));
|
));
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue