You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Matthias Pohl (Jira)" <ji...@apache.org> on 2023/07/07 06:31:00 UTC
[jira] [Created] (FLINK-32556) Renames contenderID into componentId
Matthias Pohl created FLINK-32556:
-------------------------------------
Summary: Renames contenderID into componentId
Key: FLINK-32556
URL: https://issues.apache.org/jira/browse/FLINK-32556
Project: Flink
Issue Type: Sub-task
Reporter: Matthias Pohl
We introduced {{contenderID}} in a lot of places with FLINK-26522. The original multi-component leader election classes of FLINK-24038 used {{componentId}}.
Revisiting that naming made me realize that it's actually wrong. A contender is a specific instance of a component that participates in the leader election. A component, in this sense, is the more abstract concept. {{contenderID}} refers to an ID for the specific contender instance but the IDs we're sharing are actually referring to a Flink component and therefore, are the same between different contenders which compete for leadership for the same component. This contradicts the definition of an identifier.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)