This is an automated email from the ASF dual-hosted git repository.
yangzhg pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-doris.git
The following commit(s) were added to refs/heads/master by this push:
new 17cd32f [BUG] Fixed uninitialized variables in compaction (#5828)
17cd32f is described below
commit 17cd32ffee9703f9fefc380e8771d567eacf1bf1
Author: stdpain <[email protected]>
AuthorDate: Tue May 18 12:13:58 2021 +0800
[BUG] Fixed uninitialized variables in compaction (#5828)
---
be/src/olap/tablet.cpp | 2 ++
be/src/runtime/runtime_state.cpp | 1 +
2 files changed, 3 insertions(+)
diff --git a/be/src/olap/tablet.cpp b/be/src/olap/tablet.cpp
index d8096cf..7866f0f 100644
--- a/be/src/olap/tablet.cpp
+++ b/be/src/olap/tablet.cpp
@@ -70,6 +70,8 @@ Tablet::Tablet(TabletMetaSharedPtr tablet_meta, DataDir*
data_dir,
_last_cumu_compaction_success_millis(0),
_last_base_compaction_success_millis(0),
_cumulative_point(K_INVALID_CUMULATIVE_POINT),
+ _newly_created_rowset_num(0),
+ _last_checkpoint_time(0),
_cumulative_compaction_type(cumulative_compaction_type),
_last_record_scan_count(0),
_last_record_scan_count_timestamp(time(nullptr)),
diff --git a/be/src/runtime/runtime_state.cpp b/be/src/runtime/runtime_state.cpp
index ddbcde9..b8c0c26 100644
--- a/be/src/runtime/runtime_state.cpp
+++ b/be/src/runtime/runtime_state.cpp
@@ -62,6 +62,7 @@ RuntimeState::RuntimeState(const TUniqueId&
fragment_instance_id,
_num_rows_load_filtered(0),
_num_rows_load_unselected(0),
_num_print_error_rows(0),
+ _load_job_id(-1),
_normal_row_number(0),
_error_row_number(0),
_error_log_file_path(""),
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]