[CP] get publish schema return value and broadcast consensus version

This commit is contained in:
obdev
2023-05-29 13:46:48 +00:00
committed by ob-robot
parent 253a958f51
commit 17c75534d0
6 changed files with 69 additions and 24 deletions

View File

@ -29,6 +29,7 @@ public:
static int set_default_timeout_ctx(common::ObTimeoutCtx &ctx, const int64_t default_timeout);
// priority to get timeout: ctx > worker > default_timeout
static int get_abs_timeout(const int64_t default_timeout, int64_t &abs_timeout);
static int get_ctx_timeout(const int64_t default_timeout, int64_t &timeout);
// data version must up to 4.1 with arbitration service
// params[in] tenant_id, which tenant to check
// params[out] is_compatible, whether it is up to 4.1