This is an automated email from the ASF dual-hosted git repository. gavinchou pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/master by this push: new 228237b205a [fix](ms) Fix txn approximate size (#36880) 228237b205a is described below commit 228237b205a72e238f47de6c81405f5f57c38ee8 Author: walter <w41te...@gmail.com> AuthorDate: Thu Jun 27 13:37:05 2024 +0800 [fix](ms) Fix txn approximate size (#36880) --- cloud/src/meta-service/txn_kv.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cloud/src/meta-service/txn_kv.cpp b/cloud/src/meta-service/txn_kv.cpp index f48ac8f9912..75da65c8109 100644 --- a/cloud/src/meta-service/txn_kv.cpp +++ b/cloud/src/meta-service/txn_kv.cpp @@ -265,7 +265,7 @@ void Transaction::put(std::string_view key, std::string_view val) { ++num_put_keys_; put_bytes_ += key.size() + val.size(); - approximate_bytes_ = key.size() * 3 + val.size(); // See fdbclient/ReadYourWrites.actor.cpp + approximate_bytes_ += key.size() * 3 + val.size(); // See fdbclient/ReadYourWrites.actor.cpp } // return 0 for success otherwise error --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org