modify code owner
This commit is contained in:
parent
cc9cb4cc67
commit
661a385292
@ -757,7 +757,7 @@ TEST_F(TestTabletStatusCache, read_all_committed)
|
||||
ASSERT_EQ(OB_SUCCESS, ret);
|
||||
}
|
||||
|
||||
// TODO(@bowen.gbw): refactor test cases to cover all scene
|
||||
// TODO(@gaishun.gs): refactor test cases to cover all scene
|
||||
/*
|
||||
TEST_F(TestTabletStatusCache, transfer_src_ls_read_all_committed)
|
||||
{
|
||||
|
@ -3155,7 +3155,7 @@ def_table_schema(
|
||||
)
|
||||
|
||||
all_tenant_directory_def = dict(
|
||||
owner = 'bowen.gbw',
|
||||
owner = 'jiahua.cjh',
|
||||
table_name = '__all_tenant_directory',
|
||||
table_id = '326',
|
||||
table_type = 'SYSTEM_TABLE',
|
||||
@ -61542,7 +61542,7 @@ def_table_schema(
|
||||
)
|
||||
|
||||
def_table_schema(
|
||||
owner = 'bowen.gbw',
|
||||
owner = 'jiahua.cjh',
|
||||
table_name = 'ALL_DIRECTORIES',
|
||||
database_id = 'OB_ORA_SYS_DATABASE_ID',
|
||||
table_id = '28099',
|
||||
@ -61564,7 +61564,7 @@ def_table_schema(
|
||||
)
|
||||
|
||||
def_table_schema(
|
||||
owner = 'bowen.gbw',
|
||||
owner = 'jiahua.cjh',
|
||||
table_name = 'DBA_DIRECTORIES',
|
||||
database_id = 'OB_ORA_SYS_DATABASE_ID',
|
||||
table_id = '28100',
|
||||
|
@ -224,7 +224,7 @@ int ObLSTabletService::replay(
|
||||
LOG_WARN("failed to init replayer", K(ret), KP(log_buf), K(nbytes), K(pos), K(lsn), K(scn));
|
||||
} else if (OB_FAIL(replayer_executor.execute(scn, ls_->get_ls_id(), tablet_id))) {
|
||||
if (OB_TABLET_NOT_EXIST == ret) {
|
||||
ret = OB_SUCCESS; // TODO (bowen.gbw): unify multi data replay logic
|
||||
ret = OB_SUCCESS; // TODO (gaishun.gs): unify multi data replay logic
|
||||
LOG_INFO("tablet does not exist, skip", K(ret), K(replayer_executor));
|
||||
} else if (OB_TIMEOUT == ret) {
|
||||
LOG_INFO("replace timeout errno", KR(ret), K(replayer_executor));
|
||||
|
@ -2111,7 +2111,7 @@ int ObTenantMetaMemMgr::compare_and_swap_tablet(
|
||||
|
||||
if (OB_FAIL(ret)) {
|
||||
} else {
|
||||
// TODO(@bowen.gbw): Currently, the order is:
|
||||
// TODO(@gaishun.gs): Currently, the order is:
|
||||
// 1. CAS operation, let the newest tablet be visible
|
||||
// 2. check and set initial state on tablet pointer
|
||||
// But upper layer may get tablet between step 1 and 2, which will cause that upper layer cannot
|
||||
|
@ -372,7 +372,7 @@ int64_t MdsDumpKV::to_string(char *buf, const int64_t buf_len) const
|
||||
|
||||
bool MdsDumpKV::is_valid() const
|
||||
{
|
||||
return k_.is_valid() && v_.is_valid(); // TODO(@bowen.gbw): add more rules
|
||||
return k_.is_valid() && v_.is_valid(); // TODO(@gaishun.gs): add more rules
|
||||
}
|
||||
|
||||
int MdsDumpKV::assign(const MdsDumpKV &rhs, ObIAllocator &alloc)
|
||||
|
@ -58,7 +58,7 @@ void ObStartTransferInMdsCtx::on_abort(const share::SCN &abort_scn)
|
||||
{
|
||||
mds::MdsCtx::on_abort(abort_scn);
|
||||
|
||||
// TODO(@bowen.gbw): feature branch transfer_dml_ctrl_42x patch to master,
|
||||
// TODO(@gaishun.gs): feature branch transfer_dml_ctrl_42x patch to master,
|
||||
// then add more logic, currently this code is just for compat
|
||||
}
|
||||
|
||||
|
@ -45,7 +45,7 @@ void ObTabletCreateMdsCtx::on_abort(const share::SCN &abort_scn)
|
||||
{
|
||||
mds::MdsCtx::on_abort(abort_scn);
|
||||
|
||||
// TODO(@bowen.gbw): feature branch transfer_dml_ctrl_42x patch to master,
|
||||
// TODO(@gaishun.gs): feature branch transfer_dml_ctrl_42x patch to master,
|
||||
// then add more logic, currently this code is just for compat
|
||||
}
|
||||
|
||||
|
@ -33,7 +33,7 @@ class ObMdsRowIterator;
|
||||
class ObITabletMdsInterface
|
||||
{
|
||||
friend class ObTabletCreateDeleteHelper;
|
||||
friend class ObTenantDirectLoadMgr; // TODO(@bowen.gbw): refactor later
|
||||
friend class ObTenantDirectLoadMgr; // TODO(@gaishun.gs): refactor later
|
||||
public:
|
||||
// new mds
|
||||
// Currently, we only support read LATEST multi source data, so please pass MAX_SCN as snapshot.
|
||||
@ -77,7 +77,7 @@ public:
|
||||
// CAUTIONS: this interface is only for transfer! anyone else shouldn't call this!
|
||||
int check_transfer_in_redo_written(bool &written);
|
||||
protected:// implemented by ObTablet
|
||||
// TODO(@bowen.gbw): remove these virtual functions later
|
||||
// TODO(@gaishun.gs): remove these virtual functions later
|
||||
virtual bool check_is_inited_() const = 0;
|
||||
virtual const ObTabletMeta &get_tablet_meta_() const = 0;
|
||||
virtual int get_mds_table_handle_(mds::MdsTableHandle &handle,
|
||||
|
@ -149,7 +149,7 @@ int ObMdsRangeQueryIterator<K, T>::init(
|
||||
} else if (OB_FAIL(mds_sstable_iter_.init(scan_param, tablet_handle, store_ctx))) {
|
||||
MDS_LOG(WARN, "fail to init mds sstable iter", K(ret), K(scan_param));
|
||||
} else {
|
||||
// TODO(@bowen.gbw): currently we pass MAX_SCN as read snapshot,
|
||||
// TODO(@gaishun.gs): currently we pass MAX_SCN as read snapshot,
|
||||
// in the future, we should consider the semantic of read snapshot when iteratively reading medium info.
|
||||
read_snapshot_.convert_for_tx(scan_param.frozen_version_);
|
||||
is_inited_ = true;
|
||||
|
@ -189,7 +189,7 @@ int ObMdsRowIterator::convert(
|
||||
int ret = OB_SUCCESS;
|
||||
mds::MdsDumpKVStorageAdapter adapter;
|
||||
|
||||
// TODO(@bowen.gbw): avoid memory copy
|
||||
// TODO(@gaishun.gs): avoid memory copy
|
||||
if (OB_FAIL(adapter.convert_from_mds_row(row))) {
|
||||
LOG_WARN("fail to convert from mds row", K(ret), K(row));
|
||||
} else if (OB_FAIL(kv.convert_from_adapter(allocator, adapter))) {
|
||||
|
@ -88,7 +88,7 @@ public:
|
||||
static constexpr uint64_t META_INFO_IDX = 4;
|
||||
static constexpr uint64_t USER_DATA_IDX = 5;
|
||||
static constexpr int64_t MDS_SCHEMA_VERSION = 9527; // for mds schema change
|
||||
static constexpr uint64_t MDS_TABLE_ID = 88888; // TODO(@bowen.gbw): choose another value?
|
||||
static constexpr uint64_t MDS_TABLE_ID = 88888; // TODO(@gaishun.gs): choose another value?
|
||||
private:
|
||||
static constexpr const char *MDS_TABLE_NAME = "mds_table";
|
||||
static constexpr const char *MDS_TYPE_COLUMN_NAME = "mds_type";
|
||||
|
@ -218,7 +218,7 @@ public:
|
||||
const ObTablet &old_tablet,
|
||||
const bool clear_wait_check_flag);
|
||||
|
||||
// TODO(@bowen.gbw && @fengjingkun.fjk) tmp interface for force_freeze on column store, should removed later.
|
||||
// TODO(@gaishun.gs && @fengjingkun.fjk) tmp interface for force_freeze on column store, should removed later.
|
||||
int init_with_new_snapshot_version(
|
||||
common::ObArenaAllocator &allocator,
|
||||
const ObTablet &old_tablet,
|
||||
@ -657,7 +657,7 @@ private:
|
||||
int64_t get_self_serialize_size() const;
|
||||
static int check_schema_version(const ObDDLInfoCache& ddl_info_cache, const int64_t schema_version);
|
||||
static int check_snapshot_readable(const ObDDLInfoCache& ddl_info_cache, const int64_t snapshot_version, const int64_t schema_version);
|
||||
logservice::ObLogHandler *get_log_handler() const { return log_handler_; } // TODO(bowen.gbw): get log handler from tablet pointer handle
|
||||
logservice::ObLogHandler *get_log_handler() const { return log_handler_; } // TODO(gaishun.gs): get log handler from tablet pointer handle
|
||||
|
||||
int init_shared_params(
|
||||
const share::ObLSID &ls_id,
|
||||
|
@ -428,7 +428,7 @@ int ObTabletCreateDeleteHelper::check_read_snapshot_for_transfer_out(
|
||||
} else if (OB_FAIL(read_snapshot.convert_for_tx(snapshot_version))) {
|
||||
LOG_WARN("failed to convert from int64_t to SCN", K(ret), K(snapshot_version));
|
||||
} else if (read_snapshot >= transfer_scn) {
|
||||
// TODO(@bowen.gbw): TEMP SOLUTION,
|
||||
// TODO(@gaishun.gs): TEMP SOLUTION,
|
||||
// return OB_TABLET_NOT_EXIST if read snapshot is no smaller than transfer scn,
|
||||
// no matter start transfer out transaction is committed or not.
|
||||
ret = OB_TABLET_NOT_EXIST;
|
||||
|
@ -142,7 +142,7 @@ void ObTabletMdsData::reset(common::ObIAllocator &allocator)
|
||||
|
||||
bool ObTabletMdsData::is_valid() const
|
||||
{
|
||||
// TODO(@bowen.gbw): add more check rules
|
||||
// TODO(@gaishun.gs): add more check rules
|
||||
return is_inited_;
|
||||
}
|
||||
|
||||
|
@ -103,7 +103,7 @@ int ObTabletMediumInfoReader::get_specified_medium_info(
|
||||
{
|
||||
int ret = OB_SUCCESS;
|
||||
|
||||
// TODO(@bowen.gbw): in the future we should use ObTablet::get_snapshot interface
|
||||
// TODO(@gaishun.gs): in the future we should use ObTablet::get_snapshot interface
|
||||
mds::MdsDumpKV *kv = nullptr;
|
||||
compaction::ObMediumCompactionInfoKey tmp_key;
|
||||
bool found = false;
|
||||
|
@ -1024,7 +1024,7 @@ int ObTabletMeta::update_meta_last_persisted_committed_tablet_status(
|
||||
|
||||
ObMigrationTabletParam::ObMigrationTabletParam()
|
||||
: magic_number_(MAGIC_NUM),
|
||||
version_(PARAM_VERSION_V3), // TODO(@bowen.gbw): set version to v3
|
||||
version_(PARAM_VERSION_V3), // TODO(@gaishun.gs): set version to v3
|
||||
is_empty_shell_(false),
|
||||
ls_id_(),
|
||||
tablet_id_(),
|
||||
|
@ -1,4 +1,4 @@
|
||||
#owner: bowen.gbw
|
||||
#owner: jiahua.cjh
|
||||
#group: storage
|
||||
|
||||
--disable_warnings
|
||||
|
@ -1,4 +1,4 @@
|
||||
#owner: bowen.gbw
|
||||
#owner: jiahua.cjh
|
||||
#group: storage
|
||||
|
||||
--disable_warnings
|
||||
|
Loading…
x
Reference in New Issue
Block a user