Slackbot
01/15/2023, 3:13 PMBrandon Tan
01/16/2023, 12:28 AMirst of all, is it common to use it? I mean do we really need > 1 replicas? In which scenario it helping?Yes, if you have task replicas > 1, that means the same partition is being read by two tasks and if one task fails, the other task can be queried still
another question: can somebody explain how synchronization between tasks happens? is it two that run in parallel and consume data but only one that have interval lock succeedes?There can only be 1 winner. Whichever task completes or publishes the segment first to deep storage wins.
What is the termination sequence for the second(“standby” task replica?)It gets killed
Igor Berman
01/16/2023, 6:53 AMIgor Berman
01/16/2023, 6:54 AMIgor Berman
01/16/2023, 8:46 AM