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

Sergey Uttsel updated IGNITE-17759:
-----------------------------------
    Description: 
Currently when PartitionListener invokes MvPartitionStorage#addWrite it passes 

UUID.randomUUID() as commitTableId and 0 as commitPartitionId. Need pass 
appropriate values.

 

For this:
 # In InternalTableImpl#enlistInTx need to save (UUID tableId, int partId, 
String groupId) of the first operation to the transaction.
 # In InternalTableImpl#enlistInTx need to pass commitTableId and 
commitPartitionId into ReplicaRequest (ReadWriteSingleRowReplicaRequest, 
ReadWriteSwapRowReplicaRequest, ReadWriteMultiRowReplicaRequest)
 # In PartitionReplicaListener need to pass commitTableId and commitPartitionId 
from ReplicaRequest to UpdateCommand and UpdateAllCommand.

  was:
Currently when PartitionListener invokes MvPartitionStorage#addWrite it passes 

UUID.randomUUID() as commitTableId and 0 as commitPartitionId. Need pass 
appropriate values.


> Need to pass commitTableId and commitPartitionId to 
> MvPartitionStorage#addWrite
> -------------------------------------------------------------------------------
>
>                 Key: IGNITE-17759
>                 URL: https://issues.apache.org/jira/browse/IGNITE-17759
>             Project: Ignite
>          Issue Type: Improvement
>            Reporter: Sergey Uttsel
>            Priority: Major
>              Labels: ignite-3, transaction3_ro
>
> Currently when PartitionListener invokes MvPartitionStorage#addWrite it 
> passes 
> UUID.randomUUID() as commitTableId and 0 as commitPartitionId. Need pass 
> appropriate values.
>  
> For this:
>  # In InternalTableImpl#enlistInTx need to save (UUID tableId, int partId, 
> String groupId) of the first operation to the transaction.
>  # In InternalTableImpl#enlistInTx need to pass commitTableId and 
> commitPartitionId into ReplicaRequest (ReadWriteSingleRowReplicaRequest, 
> ReadWriteSwapRowReplicaRequest, ReadWriteMultiRowReplicaRequest)
>  # In PartitionReplicaListener need to pass commitTableId and 
> commitPartitionId from ReplicaRequest to UpdateCommand and UpdateAllCommand.



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

Reply via email to