[
https://issues.apache.org/jira/browse/IGNITE-29260?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dmitry Werner updated IGNITE-29260:
-----------------------------------
Description:
ConsistentIdMapper#mapToUuid has no callers, and nothing else reads the map
behind it (GridDiscoveryManager#nodeIdMap -> DiscoCache#nodeIdMap ->
DiscoCache.consIdxToNodeId).
The map is still built for each new DiscoCache when a baseline topology is set,
but is never read.
Remove this chain and the unused BaselineTopology parameter of
ConsistentIdMapper#mapToCompactIds. No functional changes.
was:
ConsistentIdMapper#mapToUuid has no callers, and nothing else reads the map
behind it
(GridDiscoveryManager#nodeIdMap -> DiscoCache#nodeIdMap ->
DiscoCache.consIdxToNodeId).
The map is still built for each new DiscoCache when a baseline topology is set,
but is never read.
Remove this chain and the unused BaselineTopology parameter of
ConsistentIdMapper#mapToCompactIds.
No functional changes.
> Remove unused compact ID to node ID mapping from discovery
> ----------------------------------------------------------
>
> Key: IGNITE-29260
> URL: https://issues.apache.org/jira/browse/IGNITE-29260
> Project: Ignite
> Issue Type: Improvement
> Reporter: Dmitry Werner
> Assignee: Dmitry Werner
> Priority: Minor
> Fix For: 2.20
>
>
> ConsistentIdMapper#mapToUuid has no callers, and nothing else reads the map
> behind it (GridDiscoveryManager#nodeIdMap -> DiscoCache#nodeIdMap ->
> DiscoCache.consIdxToNodeId).
> The map is still built for each new DiscoCache when a baseline topology is
> set, but is never read.
> Remove this chain and the unused BaselineTopology parameter of
> ConsistentIdMapper#mapToCompactIds. No functional changes.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)