Add comment for GetBackupInfo about returned BackupInfos order
Summary: #title Test Plan: n/a Reviewers: uddipta, ldemailly, andrewkr Reviewed By: andrewkr Subscribers: andrewkr, dhruba Differential Revision: https://reviews.facebook.net/D60393
This commit is contained in:
parent
32df9733d1
commit
eb53c05a35
@ -99,6 +99,8 @@ class BackupEngineImpl : public BackupEngine {
|
||||
}
|
||||
Status GarbageCollect() override;
|
||||
|
||||
// The returned BackupInfos are in chronological order, which means the
|
||||
// latest backup comes last.
|
||||
void GetBackupInfo(std::vector<BackupInfo>* backup_info) override;
|
||||
void GetCorruptedBackups(std::vector<BackupID>* corrupt_backup_ids) override;
|
||||
Status RestoreDBFromBackup(
|
||||
@ -1769,6 +1771,8 @@ class BackupEngineReadOnlyImpl : public BackupEngineReadOnly {
|
||||
|
||||
virtual ~BackupEngineReadOnlyImpl() {}
|
||||
|
||||
// The returned BackupInfos are in chronological order, which means the
|
||||
// latest backup comes last.
|
||||
virtual void GetBackupInfo(std::vector<BackupInfo>* backup_info) override {
|
||||
backup_engine_->GetBackupInfo(backup_info);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user