Fix dump tenant backup set infos bug
This commit is contained in:
parent
a780f3b5d5
commit
fbf665d02d
@ -970,6 +970,8 @@ int ObAdminDumpBackupDataExecutor::dump_tenant_backup_path_()
|
||||
} else if (OB_FAIL(op.get_backup_set_array(backup_set_array))) {
|
||||
STORAGE_LOG(WARN, "fail to get backup set names", K(ret));
|
||||
} else if (!backup_set_array.empty()) {
|
||||
storage::ObBackupDataStore::ObBackupSetDescComparator cmp;
|
||||
std::sort(backup_set_array.begin(), backup_set_array.end(), cmp);
|
||||
for (int64_t i = backup_set_array.count() - 1; OB_SUCC(ret) && i >= 0; i--) {
|
||||
path.reset();
|
||||
const share::ObBackupSetDesc &backup_set_dir = backup_set_array.at(i);
|
||||
|
Loading…
x
Reference in New Issue
Block a user