[
https://issues.apache.org/jira/browse/IGNITE-29113?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dmitry Werner updated IGNITE-29113:
-----------------------------------
Summary: Remove dead code for the partition allocation map (was: Remove
dead partition allocation map code)
> Remove dead code for the partition allocation map
> -------------------------------------------------
>
> Key: IGNITE-29113
> URL: https://issues.apache.org/jira/browse/IGNITE-29113
> Project: Ignite
> Issue Type: Task
> Reporter: Dmitry Werner
> Assignee: Dmitry Werner
> Priority: Minor
>
> Follow-up to IGNITE-29105 ("Remove unused methods from internal core
> classes").
> IGNITE-29105 removed the only caller of
> CheckpointListener.Context.partitionStatMap() — the invocation in
> GridCacheOffheapManager.
> This left the following as dead code:
> -
> org.apache.ignite.internal.processors.cache.persistence.partstate.PartitionAllocationMap
> (entire class)
> -
> org.apache.ignite.internal.processors.cache.persistence.partstate.PagesAllocationRange
> (entire class)
> - CheckpointListener.Context.partitionStatMap() interface method
> - CheckpointContextImpl's map field, constructor parameter, and
> partitionStatMap() override
> - The new PartitionAllocationMap() instantiation in CheckpointWorkflow
> - The partitionStatMap() override in IgniteSequentialNodeCrashRecoveryTest
> This change removes all of the above. GroupPartitionId, which lives in the
> same partstate package and is still widely used, is retained.
> No behavioral change; pure dead-code removal.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)