Class ConflictResolver
java.lang.Object
io.debezium.connector.spanner.task.ConflictResolver
When merge of partitions happens, it is possible
that several tasks will process the same child partition.
This class introduces the algorithm to understand,
who should be the owner of the partition.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringgetPriorityPartition(Set<String> tokens) private static StringgetPriorityString(Set<String> strings) static booleanhasPriority(String testedTaskUid, Set<String> taskUids)
-
Constructor Details
-
ConflictResolver
private ConflictResolver()
-
-
Method Details
-
hasPriority
-
getPriorityPartition
-
getPriorityString
-