Details
-
Sub-task
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
-
Docs Required, Release Notes Required
Description
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, but we must guarantee this.
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).
Attachments
Issue Links
- blocks
-
IGNITE-22344 Tx counters refactoring
- Open
- links to