gavinchou commented on code in PR #51708:
URL: https://github.com/apache/doris/pull/51708#discussion_r2148971899


##########
cloud/src/meta-service/meta_service.cpp:
##########
@@ -456,6 +465,10 @@ void internal_create_tablet(const CreateTabletsRequest* 
request, MetaServiceCode
         msg = "failed to init txn";
         return;
     }
+    std::unique_ptr<int, std::function<void(int*)>> defer_stats((int*)0x01, 
[&](int*) {
+        stats.read_counter << txn->num_get_keys();
+        stats.write_counter << txn->num_del_keys() + txn->num_put_keys();

Review Comment:
   do we need to separate delete and put?



-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to