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: commits-unsubscr...@doris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to