[FEAT MERGE] DAS iterator refactor and keep order optimization
Co-authored-by: saltonz <saltonzh@gmail.com> Co-authored-by: zhenhan.gong@gmail.com <zhenhan.gong@gmail.com> Co-authored-by: Tyshawn <tuyunshan@gmail.com>
This commit is contained in:
@ -537,6 +537,7 @@ int ObConfigInfoInPC::load_influence_plan_config()
|
||||
min_cluster_version_ = GET_MIN_CLUSTER_VERSION();
|
||||
enable_spf_batch_rescan_ = tenant_config->_enable_spf_batch_rescan;
|
||||
enable_var_assign_use_das_ = tenant_config->_enable_var_assign_use_das;
|
||||
enable_das_keep_order_ = tenant_config->_enable_das_keep_order;
|
||||
}
|
||||
|
||||
return ret;
|
||||
@ -581,16 +582,19 @@ int ObConfigInfoInPC::serialize_configs(char *buf, int buf_len, int64_t &pos)
|
||||
"%lu,", min_cluster_version_))) {
|
||||
SQL_PC_LOG(WARN, "failed to databuff_printf", K(ret), K(min_cluster_version_));
|
||||
} else if (OB_FAIL(databuff_printf(buf, buf_len, pos,
|
||||
"%d", is_enable_px_fast_reclaim_))) {
|
||||
"%d,", is_enable_px_fast_reclaim_))) {
|
||||
SQL_PC_LOG(WARN, "failed to databuff_printf", K(ret), K(is_enable_px_fast_reclaim_));
|
||||
} else if (OB_FAIL(databuff_printf(buf, buf_len, pos,
|
||||
"%d", enable_spf_batch_rescan_))) {
|
||||
"%d,", enable_spf_batch_rescan_))) {
|
||||
SQL_PC_LOG(WARN, "failed to databuff_printf", K(ret), K(enable_spf_batch_rescan_));
|
||||
} else if (OB_FAIL(databuff_printf(buf, buf_len, pos,
|
||||
"%d", enable_var_assign_use_das_))) {
|
||||
"%d,", enable_var_assign_use_das_))) {
|
||||
SQL_PC_LOG(WARN, "failed to databuff_printf", K(ret), K(enable_var_assign_use_das_));
|
||||
} else if (OB_FAIL(databuff_printf(buf, buf_len, pos,
|
||||
"%d", bloom_filter_ratio_))) {
|
||||
"%d,", enable_das_keep_order_))) {
|
||||
SQL_PC_LOG(WARN, "failed to databuff_printf", K(ret), K(enable_das_keep_order_));
|
||||
} else if (OB_FAIL(databuff_printf(buf, buf_len, pos,
|
||||
"%d,", bloom_filter_ratio_))) {
|
||||
SQL_PC_LOG(WARN, "failed to databuff_printf", K(ret), K(bloom_filter_ratio_));
|
||||
} else {
|
||||
// do nothing
|
||||
|
||||
@ -1026,6 +1026,7 @@ public:
|
||||
is_enable_px_fast_reclaim_(false),
|
||||
enable_spf_batch_rescan_(false),
|
||||
enable_var_assign_use_das_(false),
|
||||
enable_das_keep_order_(false),
|
||||
bloom_filter_ratio_(0),
|
||||
cluster_config_version_(-1),
|
||||
tenant_config_version_(-1),
|
||||
@ -1070,6 +1071,7 @@ public:
|
||||
bool is_enable_px_fast_reclaim_;
|
||||
bool enable_spf_batch_rescan_;
|
||||
bool enable_var_assign_use_das_;
|
||||
bool enable_das_keep_order_;
|
||||
int bloom_filter_ratio_;
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user