You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by da...@apache.org on 2022/06/09 15:13:06 UTC
[incubator-doris] branch master updated: [fix](be) fix asan be set_storage_medium core (#9986) (#9987)
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/incubator-doris.git
The following commit(s) were added to refs/heads/master by this push:
new 9c1ba771da [fix](be) fix asan be set_storage_medium core (#9986) (#9987)
9c1ba771da is described below
commit 9c1ba771da525d31916fdefe6ecca0df5cebdcc7
Author: Lei Zhang <10...@qq.com>
AuthorDate: Thu Jun 9 23:12:58 2022 +0800
[fix](be) fix asan be set_storage_medium core (#9986) (#9987)
https://github.com/apache/incubator-doris/issues/9986
---
be/src/olap/tablet_meta.cpp | 4 +++-
be/src/olap/tablet_meta.h | 3 +--
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/be/src/olap/tablet_meta.cpp b/be/src/olap/tablet_meta.cpp
index e299d1a048..299d3051a2 100644
--- a/be/src/olap/tablet_meta.cpp
+++ b/be/src/olap/tablet_meta.cpp
@@ -191,7 +191,9 @@ TabletMeta::TabletMeta(const TabletMeta& b)
_stale_rs_metas(b._stale_rs_metas),
_del_pred_array(b._del_pred_array),
_in_restore_mode(b._in_restore_mode),
- _preferred_rowset_type(b._preferred_rowset_type) {}
+ _preferred_rowset_type(b._preferred_rowset_type),
+ _remote_storage_name(b._remote_storage_name),
+ _storage_medium(b._storage_medium) {};
void TabletMeta::_init_column_from_tcolumn(uint32_t unique_id, const TColumn& tcolumn,
ColumnPB* column) {
diff --git a/be/src/olap/tablet_meta.h b/be/src/olap/tablet_meta.h
index c8709941e5..c4166213d0 100644
--- a/be/src/olap/tablet_meta.h
+++ b/be/src/olap/tablet_meta.h
@@ -210,8 +210,7 @@ private:
bool _in_restore_mode = false;
RowsetTypePB _preferred_rowset_type = BETA_ROWSET;
std::string _remote_storage_name;
- StorageMediumPB _storage_medium;
-
+ StorageMediumPB _storage_medium = StorageMediumPB::HDD;
std::shared_mutex _meta_lock;
};
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org