fix autoinc seq replay
This commit is contained in:
committed by
wangzelin.wzl
parent
e3937271ab
commit
1432398f97
@ -131,11 +131,16 @@ public:
|
||||
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 int64_t replay_log_ts);
|
||||
private:
|
||||
ObTabletAutoincSeqRpcHandler();
|
||||
~ObTabletAutoincSeqRpcHandler();
|
||||
private:
|
||||
static const int64_t BUCKET_LOCK_BUCKET_CNT = 100;
|
||||
static const int64_t BUCKET_LOCK_BUCKET_CNT = 10243L;
|
||||
bool is_inited_;
|
||||
common::ObBucketLock bucket_lock_;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user