add place holder for feature branch

This commit is contained in:
zzg19950727
2023-11-09 13:09:42 +00:00
committed by ob-robot
parent d9de59fd05
commit 0c24ef4988
3 changed files with 16 additions and 3 deletions

View File

@ -206,6 +206,8 @@ STAT_EVENT_ADD_DEF(TABLET_CACHE_MISS, "tablet cache miss", ObStatClassIds::CACHE
STAT_EVENT_ADD_DEF(SCHEMA_HISTORY_CACHE_HIT, "schema history cache hit", ObStatClassIds::CACHE, 50061, false, true) STAT_EVENT_ADD_DEF(SCHEMA_HISTORY_CACHE_HIT, "schema history cache hit", ObStatClassIds::CACHE, 50061, false, true)
STAT_EVENT_ADD_DEF(SCHEMA_HISTORY_CACHE_MISS, "schema history cache miss", ObStatClassIds::CACHE, 50062, false, true) STAT_EVENT_ADD_DEF(SCHEMA_HISTORY_CACHE_MISS, "schema history cache miss", ObStatClassIds::CACHE, 50062, false, true)
STAT_EVENT_ADD_DEF(OPT_SYSTEM_STAT_CACHE_HIT, "opt system stat cache hit", ObStatClassIds::CACHE, 50063, false, true)
STAT_EVENT_ADD_DEF(OPT_SYSTEM_STAT_CACHE_MISS, "opt system stat cache miss", ObStatClassIds::CACHE, 50064, false, true)
// STORAGE // STORAGE
//STAT_EVENT_ADD_DEF(MEMSTORE_LOGICAL_READS, "MEMSTORE_LOGICAL_READS", STORAGE, "MEMSTORE_LOGICAL_READS") //STAT_EVENT_ADD_DEF(MEMSTORE_LOGICAL_READS, "MEMSTORE_LOGICAL_READS", STORAGE, "MEMSTORE_LOGICAL_READS")

View File

@ -5624,10 +5624,17 @@ DEF_TO_STRING(ObUpdateStatCacheArg)
K_(tenant_id), K_(tenant_id),
K_(partition_ids), K_(partition_ids),
K_(column_ids), K_(column_ids),
K_(no_invalidate)); K_(no_invalidate),
K_(update_system_stats_only));
return pos; return pos;
} }
OB_SERIALIZE_MEMBER(ObUpdateStatCacheArg, tenant_id_, table_id_, partition_ids_, column_ids_, no_invalidate_); OB_SERIALIZE_MEMBER(ObUpdateStatCacheArg,
tenant_id_,
table_id_,
partition_ids_,
column_ids_,
no_invalidate_,
update_system_stats_only_);
OB_SERIALIZE_MEMBER(ObSplitPartitionBatchArg, split_info_); OB_SERIALIZE_MEMBER(ObSplitPartitionBatchArg, split_info_);
OB_SERIALIZE_MEMBER((ObSequenceDDLArg, ObDDLArg), OB_SERIALIZE_MEMBER((ObSequenceDDLArg, ObDDLArg),
stmt_type_, stmt_type_,

View File

@ -1265,7 +1265,8 @@ public:
table_id_(common::OB_INVALID_ID), table_id_(common::OB_INVALID_ID),
partition_ids_(), partition_ids_(),
column_ids_(), column_ids_(),
no_invalidate_(false) no_invalidate_(false),
update_system_stats_only_(false)
{} {}
virtual ~ObUpdateStatCacheArg() {} virtual ~ObUpdateStatCacheArg() {}
void rest() void rest()
@ -1275,6 +1276,7 @@ public:
partition_ids_.reset(); partition_ids_.reset();
column_ids_.reset(); column_ids_.reset();
no_invalidate_ = false; no_invalidate_ = false;
update_system_stats_only_ = false;
} }
bool is_valid() const; bool is_valid() const;
int assign(const ObUpdateStatCacheArg &other) { int assign(const ObUpdateStatCacheArg &other) {
@ -1282,6 +1284,7 @@ public:
tenant_id_ = other.tenant_id_; tenant_id_ = other.tenant_id_;
table_id_ = other.table_id_; table_id_ = other.table_id_;
no_invalidate_ = other.no_invalidate_; no_invalidate_ = other.no_invalidate_;
update_system_stats_only_ = other.update_system_stats_only_;
if (OB_FAIL(ObDDLArg::assign(other))) { if (OB_FAIL(ObDDLArg::assign(other))) {
SHARE_LOG(WARN, "fail to assign ddl arg", KR(ret)); SHARE_LOG(WARN, "fail to assign ddl arg", KR(ret));
} else if (OB_FAIL(partition_ids_.assign(other.partition_ids_))) { } else if (OB_FAIL(partition_ids_.assign(other.partition_ids_))) {
@ -1297,6 +1300,7 @@ public:
common::ObSArray<int64_t> partition_ids_; common::ObSArray<int64_t> partition_ids_;
common::ObSArray<uint64_t> column_ids_; common::ObSArray<uint64_t> column_ids_;
bool no_invalidate_; bool no_invalidate_;
bool update_system_stats_only_;
DECLARE_VIRTUAL_TO_STRING; DECLARE_VIRTUAL_TO_STRING;
}; };