This is an automated email from the ASF dual-hosted git repository.
dataroaring pushed a commit to branch branch-3.0
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-3.0 by this push:
new 9d73f277c3c branch-3.0: [Fix](merge-on-write) Should clear
`GetDeleteBitmapUpdateLockResponse` when geting delete bitmap update lock fail
and retry #44975 (#45010)
9d73f277c3c is described below
commit 9d73f277c3c83ee19ee55889cbc77fc4b32f6b5b
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Thu Dec 5 19:16:45 2024 +0800
branch-3.0: [Fix](merge-on-write) Should clear
`GetDeleteBitmapUpdateLockResponse` when geting delete bitmap update lock fail
and retry #44975 (#45010)
Cherry-picked from #44975
Co-authored-by: bobhan1 <[email protected]>
---
cloud/src/meta-service/meta_service_helper.h | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/cloud/src/meta-service/meta_service_helper.h
b/cloud/src/meta-service/meta_service_helper.h
index 5355ac0eb61..e4ed7e2a231 100644
--- a/cloud/src/meta-service/meta_service_helper.h
+++ b/cloud/src/meta-service/meta_service_helper.h
@@ -118,6 +118,12 @@ void finish_rpc(std::string_view func_name,
brpc::Controller* ctrl, Response* re
<< " status=" << res->status().ShortDebugString()
<< " tablet=" << res->tablet_id()
<< " delete_bitmap_count=" <<
res->segment_delete_bitmaps_size();
+ } else if constexpr (std::is_same_v<Response,
GetDeleteBitmapUpdateLockResponse>) {
+ if (res->status().code() != MetaServiceCode::OK) {
+ res->clear_base_compaction_cnts();
+ res->clear_cumulative_compaction_cnts();
+ res->clear_cumulative_points();
+ }
} else if constexpr (std::is_same_v<Response, GetObjStoreInfoResponse> ||
std::is_same_v<Response, GetStageResponse>) {
std::string debug_string = res->DebugString();
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]