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 6390254f10b branch-3.0: [enhancement](cloud-schema-change) Rowset
[0-1] should not engage in delete bitmap calculation during MOW SC #44171
(#44258)
6390254f10b is described below
commit 6390254f10b4f9111e76bbfb3fd70ad0096508c9
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Tue Nov 26 19:46:34 2024 +0800
branch-3.0: [enhancement](cloud-schema-change) Rowset [0-1] should not
engage in delete bitmap calculation during MOW SC #44171 (#44258)
Cherry-picked from #44171
Co-authored-by: Siyang Tang <[email protected]>
---
be/src/cloud/cloud_schema_change_job.cpp | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/be/src/cloud/cloud_schema_change_job.cpp
b/be/src/cloud/cloud_schema_change_job.cpp
index 896804578d7..0bab742c3ad 100644
--- a/be/src/cloud/cloud_schema_change_job.cpp
+++ b/be/src/cloud/cloud_schema_change_job.cpp
@@ -363,7 +363,8 @@ Status
CloudSchemaChangeJob::_convert_historical_rowsets(const SchemaChangeParam
// If there are historical versions of rowsets, we need to recalculate
their delete
// bitmaps, otherwise we will miss the delete bitmaps of incremental
rowsets
int64_t start_calc_delete_bitmap_version =
- already_exist_any_version ? 0 : sc_job->alter_version() + 1;
+ // [0-1] is a placeholder rowset, start from 2.
+ already_exist_any_version ? 2 : sc_job->alter_version() + 1;
RETURN_IF_ERROR(_process_delete_bitmap(sc_job->alter_version(),
start_calc_delete_bitmap_version, initiator));
sc_job->set_delete_bitmap_lock_initiator(initiator);
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]