Martijn Visser created FLINK-41686:
--------------------------------------

             Summary: SourceCoordinator keys watermark alignment group entries 
by operatorName instead of OperatorID
                 Key: FLINK-41686
                 URL: https://issues.apache.org/jira/browse/FLINK-41686
             Project: Flink
          Issue Type: Bug
          Components: Runtime / Coordination
            Reporter: Martijn Visser
            Assignee: Martijn Visser


As a follow-up of FLINK-40505, {{SourceCoordinator}} keys entries in the shared 
{{CoordinatorStore}} watermark alignment group by {{operatorName}} rather than 
{{OperatorID}}.
    When two sources in the same alignment group share an operator name (for 
example a default source name), their updates overwrite each other and break 
cross-source alignment.

    Separately, if an old {{SourceCoordinator#close()}} hits the 60 s close 
timeout during a {{RecreateOnResetOperatorCoordinator}} reset, the new 
coordinator starts while the
    old close thread can still remove or overwrite the shared group entry.

    We should key the group aggregator by {{OperatorID}} and version entries 
with a per-instance epoch claimed in {{start()}} so late writes or removals 
from an earlier
    coordinator instance are ignored.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to