[ 
https://issues.apache.org/jira/browse/IGNITE-20457?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alexander Lapin updated IGNITE-20457:
-------------------------------------
    Description: 
On tx commit It’s required to check that commit timestamp is less than 
expiration timestamps for all enlisted partitions
h3. Implementation Notes
 * Added TxManagerImpl#verifyCommitTimestamp method that checks whether 
previously enlisted primary replicas aren't expired and that commit timestamp 
is less or equal than primary replicas expiration timestamp. Given method will 
either complete result future with void or PrimaryReplicaExpiredException
 * Added aforementioned verifyCommitTimestamp into TxManagerImpl#finish flow
 * Added PlacementDriver as an additional TxManagerImpl constructor param in 
order to retrieve current primary replicas for the futher checks in 
verifyCommitTimestamp.

  was:On tx commit It’s required to check that commit timestamp is less than 
expiration timestamps for all enlisted partitions


> Verify commitTimestamp against enlisted partitions expiration timestamps
> ------------------------------------------------------------------------
>
>                 Key: IGNITE-20457
>                 URL: https://issues.apache.org/jira/browse/IGNITE-20457
>             Project: Ignite
>          Issue Type: Bug
>            Reporter: Alexander Lapin
>            Assignee: Alexander Lapin
>            Priority: Blocker
>              Labels: ignite-3, tech-debt
>             Fix For: 3.0.0-beta2
>
>
> On tx commit It’s required to check that commit timestamp is less than 
> expiration timestamps for all enlisted partitions
> h3. Implementation Notes
>  * Added TxManagerImpl#verifyCommitTimestamp method that checks whether 
> previously enlisted primary replicas aren't expired and that commit timestamp 
> is less or equal than primary replicas expiration timestamp. Given method 
> will either complete result future with void or PrimaryReplicaExpiredException
>  * Added aforementioned verifyCommitTimestamp into TxManagerImpl#finish flow
>  * Added PlacementDriver as an additional TxManagerImpl constructor param in 
> order to retrieve current primary replicas for the futher checks in 
> verifyCommitTimestamp.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to