diff --git a/src/observer/ob_server_utils.cpp b/src/observer/ob_server_utils.cpp index 5cf12a4b0d..7a4f016bec 100644 --- a/src/observer/ob_server_utils.cpp +++ b/src/observer/ob_server_utils.cpp @@ -91,8 +91,9 @@ int ObServerUtils::cal_all_part_disk_size(const int64_t suggested_data_disk_size { int ret = OB_SUCCESS; -// background information about default disk percentage -// https://yuque.antfin-inc.com/ob/rootservice/buzmfz +// background information about default disk percentage: +// If not in shared mode, disk will be used up to 90%. +// If in shared mode, data and clog disk usage will be up to 60% and 30% const int64_t DEFAULT_DISK_PERCENTAGE_IN_SEPRATE_MODE = 90; const int64_t DEFAULT_DATA_DISK_PERCENTAGE_IN_SHARED_MODE = 60; const int64_t DEFAULT_CLOG_DISK_PERCENTAGE_IN_SHARED_MODE = 30; diff --git a/src/observer/ob_service.cpp b/src/observer/ob_service.cpp index 1e1b02e3c6..680a8ffeb1 100644 --- a/src/observer/ob_service.cpp +++ b/src/observer/ob_service.cpp @@ -494,7 +494,7 @@ int ObService::get_min_sstable_schema_version( for (int i = 0; OB_SUCC(ret) && i < arg.tenant_id_arg_list_.size(); ++i) { // The minimum schema_version used by storage will increase with the major version, // storage only need to keep schema history used by a certain number major version. - // For storage, there is no need to the server level statistics: https://yuque.antfin-inc.com/ob/rootservice/feqqfr + // For storage, there is no need to the server level statistics. // min_schema_version = scheduler.get_min_schema_version(arg.tenant_id_arg_list_.at(i)); int tmp_ret = OB_SUCCESS; const uint64_t tenant_id = arg.tenant_id_arg_list_.at(i); @@ -1840,7 +1840,8 @@ int ObService::detect_master_rs_ls( } } else if (replica.is_strong_leader()) { // case 2 : replica is leader, do not use in_service to check whether it is leader or not - // use in_service could lead to bad case: https://yuque.antfin.com/ob/rootservice/pbw2qw + // use in_service could lead to bad case: + // For more info, to see docs on yuque rootservice/pbw2qw if (OB_FAIL(generate_master_rs_ls_info_(replica, ls_info))) { LOG_WARN("generate master rs ls info failed", KR(ret), K(replica), K(ls_info)); } else if (OB_FAIL(result.init(ObRole::LEADER, master_rs, replica, ls_info))) { diff --git a/src/share/ob_cluster_version.h b/src/share/ob_cluster_version.h index a08432998f..40a3325832 100644 --- a/src/share/ob_cluster_version.h +++ b/src/share/ob_cluster_version.h @@ -177,7 +177,6 @@ cal_version(const uint64_t major, const uint64_t minor, const uint64_t major_pat // 1. After 4.0, each cluster_version is corresponed to a data version. // 2. cluster_version and data_version is not compariable. // 3. TODO: If you update data_version below, please update DATA_CURRENT_VERSION & ObUpgradeChecker too. -// For more detail: https://yuque.antfin-inc.com/ob/rootservice/xywr36 #define DATA_VERSION_4_0_0_0 (oceanbase::common::cal_version(4, 0, 0, 0)) #define DATA_VERSION_4_1_0_0 (oceanbase::common::cal_version(4, 1, 0, 0)) diff --git a/src/share/parameter/ob_parameter_seed.ipp b/src/share/parameter/ob_parameter_seed.ipp index c76f0662c8..ab47e15454 100644 --- a/src/share/parameter/ob_parameter_seed.ipp +++ b/src/share/parameter/ob_parameter_seed.ipp @@ -31,7 +31,7 @@ DEF_STR(redundancy_level, OB_CLUSTER_PARAMETER, "NORMAL", "HIGH: tolerate two disk failure if disk count is enough", ObParameterAttr(Section::SSTABLE, Source::DEFAULT, EditLevel::DYNAMIC_EFFECTIVE)) // background information about disk space configuration -// https://yuque.antfin-inc.com/ob/rootservice/buzmfz +// ObServerUtils::get_data_disk_info_in_config() DEF_CAP(datafile_size, OB_CLUSTER_PARAMETER, "0", "[0M,)", "size of the data file. Range: [0, +∞)", ObParameterAttr(Section::SSTABLE, Source::DEFAULT, EditLevel::DYNAMIC_EFFECTIVE)); DEF_INT(datafile_disk_percentage, OB_CLUSTER_PARAMETER, "0", "[0,99]", diff --git a/src/share/schema/ob_multi_version_schema_service.cpp b/src/share/schema/ob_multi_version_schema_service.cpp index 77e4951061..64448c9b92 100644 --- a/src/share/schema/ob_multi_version_schema_service.cpp +++ b/src/share/schema/ob_multi_version_schema_service.cpp @@ -2224,8 +2224,7 @@ int ObMultiVersionSchemaService::async_refresh_schema( /* * 1. If tenant_id is OB_INVALID_TENANT_ID, it means refresh the schema of all tenants, * otherwise only the schema of the corresponding tenant will be refreshed. - * 2. The new schema_version broadcast mechanism does not support the read-only zone scheme. For details, see: - * https://yuque.antfin-inc.com/ob/rootservice/gxom1e + * 2. The new schema_version broadcast mechanism does not support the read-only zone scheme. * 3. When refreshing the schema, you must first obtain the schema_version version * that each tenant wants to refresh from the internal table: * 1) For system tenants of the primary cluster and standalone cluster, the schema refresh is strengthened diff --git a/src/share/schema/ob_multi_version_schema_service.h b/src/share/schema/ob_multi_version_schema_service.h index 088ee38d73..6088ddb8e7 100644 --- a/src/share/schema/ob_multi_version_schema_service.h +++ b/src/share/schema/ob_multi_version_schema_service.h @@ -142,7 +142,6 @@ public: // 1. tenant_schema_version is the schema_version of the corresponding tenant // 2. sys_schema_version is the schema_version of the system tenant. For system tenants, // the value will be reset to tenant_schema_version - // https://yuque.antfin-inc.com/ob/rootservice/gxom1e virtual int get_tenant_schema_guard(const uint64_t tenant_id, ObSchemaGetterGuard &guard, int64_t tenant_schema_version = common::OB_INVALID_VERSION,