fix bugs
This commit is contained in:
committed by
wangzelin.wzl
parent
ae36be9c5b
commit
1173ce6b95
@ -109,6 +109,7 @@ int ObBackupDataScheduler::get_need_reload_task(
|
||||
LOG_INFO("[DATA_BACKUP]no job need to reload");
|
||||
} else {
|
||||
for (int64_t i = 0; OB_SUCC(ret) && i < jobs.count(); ++i) {
|
||||
ls_tasks.reset();
|
||||
const ObBackupJobAttr &job = jobs.at(i);
|
||||
ObBackupSetTaskAttr set_task_attr;
|
||||
bool is_valid = true;
|
||||
|
||||
@ -1647,6 +1647,7 @@ int ObBackupLSTaskOperator::get_ls_tasks(
|
||||
{
|
||||
int ret = OB_SUCCESS;
|
||||
ObSqlString sql;
|
||||
ls_attrs.reset();
|
||||
if (job_id <= 0 || tenant_id == OB_INVALID_TENANT_ID) {
|
||||
ret = OB_INVALID_ARGUMENT;
|
||||
LOG_WARN("[DATA_BACKUP]invalid argument", K(ret), K(tenant_id), K(tenant_id));
|
||||
|
||||
Reference in New Issue
Block a user