replace get_ls_ctx_mgr with get_ls in acquire_local_snapshot
This commit is contained in:
@ -48,6 +48,17 @@ private:
|
||||
ObTxNode *n_;
|
||||
};
|
||||
|
||||
|
||||
OB_NOINLINE int ObTransService::acquire_local_snapshot_(const share::ObLSID &ls_id,
|
||||
SCN &snapshot,
|
||||
const bool is_read_only,
|
||||
bool &acquire_from_follower)
|
||||
{
|
||||
int ret = OB_SUCCESS;
|
||||
snapshot = tx_version_mgr_.get_max_commit_ts(false);
|
||||
acquire_from_follower = false;
|
||||
return ret;
|
||||
}
|
||||
class ObTestRegisterMDS : public ::testing::Test
|
||||
{
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user