[FEAT MERGE] merge transfer
Co-authored-by: wxhwang <wxhwang@126.com> Co-authored-by: godyangfight <godyangfight@gmail.com> Co-authored-by: Tyshawn <tuyunshan@gmail.com>
This commit is contained in:
@ -121,33 +121,6 @@ private:
|
||||
lib::ObMutex init_node_mutexs_[INIT_NODE_MUTEX_NUM];
|
||||
};
|
||||
|
||||
class ObTabletAutoincSeqRpcHandler final
|
||||
{
|
||||
public:
|
||||
static ObTabletAutoincSeqRpcHandler &get_instance();
|
||||
int init();
|
||||
int fetch_tablet_autoinc_seq_cache(
|
||||
const obrpc::ObFetchTabletSeqArg &arg,
|
||||
obrpc::ObFetchTabletSeqRes &res);
|
||||
int batch_get_tablet_autoinc_seq(
|
||||
const obrpc::ObBatchGetTabletAutoincSeqArg &arg,
|
||||
obrpc::ObBatchGetTabletAutoincSeqRes &res);
|
||||
int batch_set_tablet_autoinc_seq(
|
||||
const obrpc::ObBatchSetTabletAutoincSeqArg &arg,
|
||||
obrpc::ObBatchSetTabletAutoincSeqRes &res);
|
||||
int replay_update_tablet_autoinc_seq(
|
||||
const ObLS *ls,
|
||||
const ObTabletID &tablet_id,
|
||||
const uint64_t autoinc_seq,
|
||||
const SCN &replay_scn);
|
||||
private:
|
||||
ObTabletAutoincSeqRpcHandler();
|
||||
~ObTabletAutoincSeqRpcHandler();
|
||||
private:
|
||||
static const int64_t BUCKET_LOCK_BUCKET_CNT = 10243L;
|
||||
bool is_inited_;
|
||||
common::ObBucketLock bucket_lock_;
|
||||
};
|
||||
|
||||
} // end namespace share
|
||||
} // end namespace oceanbase
|
||||
|
||||
Reference in New Issue
Block a user