[
https://issues.apache.org/jira/browse/FLINK-32556?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Matthias Pohl resolved FLINK-32556.
-----------------------------------
Fix Version/s: 1.18.0
Resolution: Fixed
master: 773feebbb2426ab1a8f7684f59b9a73db8f6a613
> 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
> Assignee: Matthias Pohl
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.18.0
>
>
> 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)