kangpinghuang commented on a change in pull request #806: Add creation time in 
txn manager
URL: https://github.com/apache/incubator-doris/pull/806#discussion_r268516364
 
 

 ##########
 File path: be/src/olap/txn_manager.cpp
 ##########
 @@ -270,8 +270,8 @@ OLAPStatus TxnManager::rollback_txn(TPartitionId 
partition_id, TTransactionId tr
         if (load_itr != it->second.end()) {
             // found load for txn,tablet
             // case 1: user commit rowset, then the load id must be equal
-            std::pair<PUniqueId, RowsetSharedPtr>& load_info = 
load_itr->second;
-            if (load_info.second != NULL) {
+            TabletTxnInfo& load_info = load_itr->second;
+            if (load_info.rowset != NULL) {
 
 Review comment:
   NULL

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to