You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Ivan Pavlukhin (JIRA)" <ji...@apache.org> on 2018/08/27 10:42:00 UTC
[jira] [Comment Edited] (IGNITE-8149) MVCC TX: Size method should
use tx snapshot
[ https://issues.apache.org/jira/browse/IGNITE-8149?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16593465#comment-16593465 ]
Ivan Pavlukhin edited comment on IGNITE-8149 at 8/27/18 10:41 AM:
------------------------------------------------------------------
Basic idea of size calculation is based on following points:
* Introduced TxCounters entity is used for accumulation various counters of running transaction.
* During transaction execution size delta is accumulated in TxCounters by mutating operations.
* Delta is accumulated similarly on primary and backup partitions (and is not sent across network).
* Size changes become visible in the end of transaction.
was (Author: pavlukhin):
Basic idea of size calculation is based on following points:
* Introduced TxCounters entity is used for accumulation various counters of running transaction.
* During transaction execution size delta is accumulated in TxCounters by mutating operations.
* Size changes become visible in the end of transaction.
> MVCC TX: Size method should use tx snapshot
> -------------------------------------------
>
> Key: IGNITE-8149
> URL: https://issues.apache.org/jira/browse/IGNITE-8149
> Project: Ignite
> Issue Type: Task
> Components: cache, mvcc
> Reporter: Igor Seliverstov
> Assignee: Ivan Pavlukhin
> Priority: Major
> Fix For: 2.7
>
>
> Currently cache.size() returns number of entries in cache trees while there can be several versions of one key-value pairs.
> We should use tx snapshot and count all passed mvcc filter entries instead.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)