This is an automated email from the ASF dual-hosted git repository.

dataroaring 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 5cb1af2dc20 [feat](snapshot) reference_instance_id is not set in 
compaction operation log (#58023)
5cb1af2dc20 is described below

commit 5cb1af2dc201e71efa5f7c126d41674a1594e14f
Author: meiyi <[email protected]>
AuthorDate: Sat Nov 15 02:49:39 2025 +0800

    [feat](snapshot) reference_instance_id is not set in compaction operation 
log (#58023)
---
 cloud/src/meta-store/clone_chain_reader.cpp | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/cloud/src/meta-store/clone_chain_reader.cpp 
b/cloud/src/meta-store/clone_chain_reader.cpp
index 3bed5f39df1..7efb642e16c 100644
--- a/cloud/src/meta-store/clone_chain_reader.cpp
+++ b/cloud/src/meta-store/clone_chain_reader.cpp
@@ -867,6 +867,9 @@ TxnErrorCode 
CloneChainReader::get_rowset_metas(Transaction* txn, int64_t tablet
                                 version);
                     return TxnErrorCode::TXN_INVALID_DATA;
                 }
+                if (!rowset.has_reference_instance_id()) {
+                    rowset.set_reference_instance_id(current_instance_id);
+                }
                 version_to_rowset[version] = std::move(rowset);
             }
         }


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to