This is an automated email from the ASF dual-hosted git repository. dataroaring pushed a commit to branch branch-4.0-preview in repository https://gitbox.apache.org/repos/asf/doris.git
commit 951daa621496a63b9fe4866355237de5e66920bf Author: Gavin Chou <[email protected]> AuthorDate: Sat Apr 20 22:50:52 2024 +0800 [fix](cloud) Fix missing time unit ms when recycle expired txn (#33915) --- cloud/src/recycler/recycler.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cloud/src/recycler/recycler.cpp b/cloud/src/recycler/recycler.cpp index 3089aeb66d6..3222a8e2e14 100644 --- a/cloud/src/recycler/recycler.cpp +++ b/cloud/src/recycler/recycler.cpp @@ -1864,7 +1864,8 @@ int InstanceRecycler::recycle_expired_txn_label() { return -1; } if ((recycle_txn_pb.has_immediate() && recycle_txn_pb.immediate()) || - (recycle_txn_pb.creation_time() + config::label_keep_max_second <= current_time)) { + (recycle_txn_pb.creation_time() + config::label_keep_max_second * 1000L <= + current_time)) { LOG_INFO("found recycle txn").tag("key", hex(k)); num_expired++; } else { --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
