Skip to content

Commit

Permalink
Reword comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
jzhou77 committed Mar 29, 2021
1 parent 55ef408 commit 2b4744a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions fdbclient/BackupContainerFileSystem.actor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -892,8 +892,9 @@ class BackupContainerFileSystemImpl {
}

// Get a set of files that can restore the given "keyRangesFilter" to the "targetVersion".
// If "keyRangesFilter" is empty, the restore will recover the whole database. It's generally
// a good idea to specify "keyRangesFilter" to reduce the number of files for restore times.
// If "keyRangesFilter" is empty, the file set will cover all key ranges present in the backup.
// It's generally a good idea to specify "keyRangesFilter" to reduce the number of files for
// restore times.
//
// If "logsOnly" is true, then only log files are returned and "keyRangesFilter" is ignored,
// because the log can contain mutations of the whole key space, unlike range files that each
Expand Down
2 changes: 1 addition & 1 deletion fdbclient/FileBackupAgent.actor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5206,7 +5206,7 @@ class FileBackupAgentImpl {
// cxOrig: if present, is used to resolve the restore timestamp into a version.
// tagName: restore tag
// url: the backup container's URL that contains all backup files
// ranges: the restored key ranges; if empty, restore the whole database
// ranges: the restored key ranges; if empty, restore all key ranges in the backup
// waitForComplete: if set, wait until the restore is completed before returning; otherwise,
// return when the request is submitted to the database.
// targetVersion: the version to be restored.
Expand Down

0 comments on commit 2b4744a

Please sign in to comment.