You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Anton Vinogradov (Jira)" <ji...@apache.org> on 2022/10/07 15:42:00 UTC
[jira] [Updated] (IGNITE-17851) TX cache update counter must deny already closed gaps re-closing
[ https://issues.apache.org/jira/browse/IGNITE-17851?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Anton Vinogradov updated IGNITE-17851:
--------------------------------------
Summary: TX cache update counter must deny already closed gaps re-closing (was: TX cache update counter must deny already closed gaps re-closing instead of returning false)
> TX cache update counter must deny already closed gaps re-closing
> ----------------------------------------------------------------
>
> Key: IGNITE-17851
> URL: https://issues.apache.org/jira/browse/IGNITE-17851
> Project: Ignite
> Issue Type: Sub-task
> Reporter: Anton Vinogradov
> Priority: Major
>
> Currently {{PartitionUpdateCounterTrackingImpl#update()}} just returns false when closing already closed gaps.
> The result is ignored on non-rollback calls at {{{}IgniteTxHandler#applyPartitionsUpdatesCounters(){}}}.
> Such behaviour allows to reuse the same counter and this may lead to the hidden inconsistency.
> I've checked that {{PartitionUpdateCounterTrackingImpl#update()}} never returns false on non-rollback call, using the [Check|https://github.com/apache/ignite/pull/10293/files].
> {{PartitionUpdateCounterTrackingImpl#update()}} method should be refactored to provide only-once closing guarantee or {{IgniteTxHandler#applyPartitionsUpdatesCounters()}} shoud check the update result for every the call (including non-rollback).
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)