adjust todo owner
This commit is contained in:
@ -423,7 +423,7 @@ int ObBackupDataBaseTask::set_optional_servers_(const ObIArray<common::ObAddr> &
|
||||
for (int i = 0; OB_SUCC(ret) && i < replica_array.count(); ++i) {
|
||||
const ObLSReplica &replica = replica_array.at(i);
|
||||
if (replica.is_in_service() && !replica.is_strong_leader() && replica.is_valid() && !replica.is_in_restore()
|
||||
&& ObReplicaTypeCheck::is_full_replica(replica.get_replica_type()) // TODO(chongrong.th) 4.3 allow R replica backup later
|
||||
&& ObReplicaTypeCheck::is_full_replica(replica.get_replica_type()) // TODO(zeyong) 4.3 allow R replica backup later
|
||||
&& !check_replica_in_black_server_(replica, black_servers)) {
|
||||
ObBackupServer server;
|
||||
server.set(replica.get_server(), 0/*high priority*/);
|
||||
|
||||
@ -277,7 +277,7 @@ int ObBackupTaskSchedulerQueue::pop_task(ObBackupScheduleTask *&output_task, com
|
||||
DLIST_FOREACH(t, wait_list_)
|
||||
{
|
||||
if (!backup_zone.empty() || !backup_region.empty()) {
|
||||
// TODO(chongrong.th): when backup zone and backup region scheme is ready, adjust this code in 4.3
|
||||
// TODO(zeyong): when backup zone and backup region scheme is ready, adjust this code in 4.3
|
||||
// only backup ls task need the defensive operation
|
||||
ObArray<common::ObAddr> empty_block_server;
|
||||
if (!t->can_execute_on_any_server() && BackupJobType::BACKUP_BACKUP_DATA_JOB == t->get_type()) {
|
||||
@ -368,7 +368,7 @@ int ObBackupTaskSchedulerQueue::get_backup_region_and_zone_(
|
||||
ObIArray<ObBackupRegion> &backup_region)
|
||||
{
|
||||
int ret = OB_SUCCESS;
|
||||
// TODO(chongrong.th) redefine backup region and backup zone in 4.3
|
||||
// TODO(zeyong) redefine backup region and backup zone in 4.3
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user