modify replayable_point generation interval
This commit is contained in:
@ -2049,7 +2049,7 @@ void ObPrimaryLSService::do_work()
|
|||||||
int64_t idle_time_us = 100 * 1000L;
|
int64_t idle_time_us = 100 * 1000L;
|
||||||
int tmp_ret = OB_SUCCESS;
|
int tmp_ret = OB_SUCCESS;
|
||||||
while (!has_set_stop()) {
|
while (!has_set_stop()) {
|
||||||
idle_time_us = 10 * 1000 * 1000L;
|
idle_time_us = is_meta_tenant(tenant_id_) ? 100 * 1000L : 10 * 1000 * 1000L;
|
||||||
{
|
{
|
||||||
ObCurTraceId::init(GCONF.self_addr_);
|
ObCurTraceId::init(GCONF.self_addr_);
|
||||||
share::schema::ObSchemaGetterGuard schema_guard;
|
share::schema::ObSchemaGetterGuard schema_guard;
|
||||||
|
|||||||
@ -70,7 +70,7 @@ private:
|
|||||||
int update_ls_recovery_stat_();
|
int update_ls_recovery_stat_();
|
||||||
|
|
||||||
public:
|
public:
|
||||||
static constexpr int64_t IDLE_TIME_US = 500 * 1000;
|
static constexpr int64_t IDLE_TIME_US = 100 * 1000;
|
||||||
TO_STRING_KV(K_(is_inited), K_(tenant_id), K_(tenant_info));
|
TO_STRING_KV(K_(is_inited), K_(tenant_id), K_(tenant_info));
|
||||||
private:
|
private:
|
||||||
bool is_inited_;
|
bool is_inited_;
|
||||||
|
|||||||
Reference in New Issue
Block a user