[
https://issues.apache.org/jira/browse/IGNITE-20317?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sergey Uttsel updated IGNITE-20317:
-----------------------------------
Description:
There are meta storage invokes in DistributionZoneManager in zone's lifecycle.
The futures of these invokes are ignored, so after the lifecycle method is
completed actually not all its actions are completed. Currently it does the
meta storage invokes in:
# ZonesConfigurationListener#onCreate to init a zone.
# ZonesConfigurationListener#onDelete to clean up the zone data.
# LogicalTopologyEventListener to update logical topology.
# DistributionZoneManager#onUpdateFilter to save data nodes in the meta storage.
Need to return meta storage futures from event handlers to ensure event
linearization.
was:
There are meta storage invokes in DistributionZoneManager in zone's lifecycle.
The futures of these invokes are ignored, so after the lifecycle method is
completed actually not all its actions are completed. Currently it does the
meta storage invokes in:
# ZonesConfigurationListener#onCreate to init a zone.
# ZonesConfigurationListener#onDelete to clean up the zone data.
# LogicalTopologyEventListener to update logical topology.
# DistributionZoneManager#onUpdateFilter to save data nodes in the meta storage.
# Also saveDataNodesToMetaStorageOnScaleUp and
saveDataNodesToMetaStorageOnScaleDown do invokes.
Need to return meta storage futures from event handlers to ensure event
linearization.
> Meta storage invokes are not completed when events are handled in DZM
> ----------------------------------------------------------------------
>
> Key: IGNITE-20317
> URL: https://issues.apache.org/jira/browse/IGNITE-20317
> Project: Ignite
> Issue Type: Bug
> Reporter: Sergey Uttsel
> Priority: Major
> Labels: ignite-3
>
> There are meta storage invokes in DistributionZoneManager in zone's
> lifecycle. The futures of these invokes are ignored, so after the lifecycle
> method is completed actually not all its actions are completed. Currently it
> does the meta storage invokes in:
> # ZonesConfigurationListener#onCreate to init a zone.
> # ZonesConfigurationListener#onDelete to clean up the zone data.
> # LogicalTopologyEventListener to update logical topology.
> # DistributionZoneManager#onUpdateFilter to save data nodes in the meta
> storage.
> Need to return meta storage futures from event handlers to ensure event
> linearization.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)