[
https://issues.apache.org/jira/browse/IGNITE-29250?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dmitry Werner updated IGNITE-29250:
-----------------------------------
Description:
On commit of a DHT local transaction whose originating node has a near cache,
IgniteTxManager#commitTx walks the read and write entries, collects the
versions of pending locks and stores them in GridDhtTxLocalAdapter#pendingVers.
Nothing has read these versions since IGNITE-22920 removed them from
GridDhtTxFinishRequest, so this work is no longer needed.
Remove:
- both IgniteTxManager#collectPendingVersions overloads;
- GridDhtTxLocalAdapter#pendingVers and its accessors.
There are no wire or PDS changes, as the field was never serialized. Pending
versions sent to near nodes in GridNearTxPrepareResponse and
GridNearLockResponse are collected separately and are not affected.
was:
On commit of a DHT local transaction whose originating node has a near cache,
IgniteTxManager#commitTx walks the read and write entries, collects the versions
of pending locks and stores them in GridDhtTxLocalAdapter#pendingVers.
Nothing has read these versions since IGNITE-22920 removed them from
GridDhtTxFinishRequest, so this work is no longer needed.
Remove:
- both IgniteTxManager#collectPendingVersions overloads;
- GridDhtTxLocalAdapter#pendingVers and its accessors.
There are no wire or PDS changes, as the field was never serialized. Pending
versions sent to near nodes in GridNearTxPrepareResponse and
GridNearLockResponse
are collected separately and are not affected.
> Remove unused pending versions collection from transaction commit
> -----------------------------------------------------------------
>
> Key: IGNITE-29250
> URL: https://issues.apache.org/jira/browse/IGNITE-29250
> Project: Ignite
> Issue Type: Improvement
> Reporter: Dmitry Werner
> Assignee: Dmitry Werner
> Priority: Major
>
> On commit of a DHT local transaction whose originating node has a near cache,
> IgniteTxManager#commitTx walks the read and write entries, collects the
> versions of pending locks and stores them in
> GridDhtTxLocalAdapter#pendingVers.
> Nothing has read these versions since IGNITE-22920 removed them from
> GridDhtTxFinishRequest, so this work is no longer needed.
> Remove:
> - both IgniteTxManager#collectPendingVersions overloads;
> - GridDhtTxLocalAdapter#pendingVers and its accessors.
> There are no wire or PDS changes, as the field was never serialized. Pending
> versions sent to near nodes in GridNearTxPrepareResponse and
> GridNearLockResponse are collected separately and are not affected.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)