feat: hbaseapi support ttl & maxversions

This commit is contained in:
obdev
2022-06-15 10:28:03 +08:00
committed by wangzelin.wzl
parent 5456ef83df
commit 0d5a4bc8b8
76 changed files with 7920 additions and 437 deletions

View File

@ -83,6 +83,7 @@
#include "rootserver/ob_restore_point_service.h"
#include "rootserver/backup/ob_backup_archive_log_scheduler.h"
#include "rootserver/backup/ob_backup_backupset.h"
#include "rootserver/ob_ttl_scheduler.h"
namespace oceanbase {
@ -1235,6 +1236,10 @@ public:
int standby_grant(const obrpc::ObStandbyGrantArg& arg);
int finish_replay_schema(const obrpc::ObFinishReplayArg& arg);
// table api
int handle_user_ttl(const obrpc::ObTableTTLArg& arg);
int ttl_response(const obrpc::ObTTLResponseArg& arg);
////////////////////////////////////////////////////
private:
int check_parallel_ddl_conflict(share::schema::ObSchemaGetterGuard& schema_guard, const obrpc::ObDDLArg& arg);
@ -1475,6 +1480,9 @@ private:
ObBackupBackupset backup_backupset_;
ObBackupLeaseService backup_lease_service_;
// tableapi
ObTTLScheduler ttl_scheduler_;
private:
DISALLOW_COPY_AND_ASSIGN(ObRootService);
};