You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by yi...@apache.org on 2023/06/30 06:59:50 UTC

[doris] branch master updated: [fix](load) fix tablet id in RowsetWriterContext (#21336)

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

yiguolei 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 53f90cb2e3 [fix](load) fix tablet id in RowsetWriterContext (#21336)
53f90cb2e3 is described below

commit 53f90cb2e3235bfbd29d1799b41ada0466e5bb98
Author: Kaijie Chen <ck...@apache.org>
AuthorDate: Fri Jun 30 14:59:43 2023 +0800

    [fix](load) fix tablet id in RowsetWriterContext (#21336)
---
 be/src/olap/delta_writer.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/be/src/olap/delta_writer.cpp b/be/src/olap/delta_writer.cpp
index 712b3efc37..3c84e67103 100644
--- a/be/src/olap/delta_writer.cpp
+++ b/be/src/olap/delta_writer.cpp
@@ -199,7 +199,7 @@ Status DeltaWriter::init() {
     context.segments_overlap = OVERLAPPING;
     context.tablet_schema = _tablet_schema;
     context.newest_write_timestamp = UnixSeconds();
-    context.tablet_id = _tablet->table_id();
+    context.tablet_id = _tablet->tablet_id();
     context.tablet = _tablet;
     context.write_type = DataWriteType::TYPE_DIRECT;
     context.mow_context = std::make_shared<MowContext>(_cur_max_version, _req.txn_id, _rowset_ids,


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org