submit log interface to nonblcok
This commit is contained in:
@ -497,7 +497,8 @@ public:
|
||||
const int64_t size,
|
||||
const share::SCN &base_ts,
|
||||
ObTxBaseLogCb *cb,
|
||||
const bool need_nonblock)
|
||||
const bool need_nonblock,
|
||||
const int64_t retry_timeout_us)
|
||||
{
|
||||
int ret = OB_SUCCESS;
|
||||
logservice::ObLogBaseHeader base_header;
|
||||
|
||||
@ -108,7 +108,8 @@ int MockTxLogAdapter::submit_log(const char *buf,
|
||||
const int64_t size,
|
||||
const share::SCN &base_ts,
|
||||
ObTxBaseLogCb *cb,
|
||||
const bool need_nonblock)
|
||||
const bool need_nonblock,
|
||||
const int64_t retry_timeout_us)
|
||||
{
|
||||
int ret = OB_SUCCESS;
|
||||
int64_t ts = 0;
|
||||
|
||||
@ -68,7 +68,8 @@ public:
|
||||
const int64_t size,
|
||||
const share::SCN &base_ts,
|
||||
ObTxBaseLogCb *cb,
|
||||
const bool need_block);
|
||||
const bool need_block,
|
||||
const int64_t retry_timeout_us = 1000);
|
||||
int get_role(bool &is_leader, int64_t &epoch);
|
||||
int get_max_decided_scn(share::SCN &scn)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user