diff options
author | Keith Bostic <keith@wiredtiger.com> | 2016-04-15 11:12:18 -0400 |
---|---|---|
committer | Keith Bostic <keith@wiredtiger.com> | 2016-04-15 11:12:18 -0400 |
commit | b182925769af651e8a79ddeac064b1abd85f8af9 (patch) | |
tree | 016727b2a970b6652af969a99c62c30033836649 | |
parent | 8876677b342f3cd1ed0bdb4a66e6bef2b1aff756 (diff) | |
download | mongo-b182925769af651e8a79ddeac064b1abd85f8af9.tar.gz |
WT-2103: add incremental backup testing to format
Document the file can grow during the backup copy starts, applications
might not be prepared for that to happen.
-rw-r--r-- | src/docs/backup.dox | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/docs/backup.dox b/src/docs/backup.dox index c9f96e017cb..3f8cbc992a8 100644 --- a/src/docs/backup.dox +++ b/src/docs/backup.dox @@ -42,6 +42,12 @@ Copying the database files for a backup does not require any special alignment or block size (specifically, Linux or Windows filesystems that do not support read/write isolation can be safely read for backups). +The database file may grow in size during the copy, and the file copy +should not consider that an error. Blocks appended to the file after the +copy starts can be safely ignored, that is, it is correct for the copy +to determine an initial size of the file and then copy that many bytes, +ignoring any bytes appended after the backup cursor was opened. + The cursor must not be closed until all of the files have been copied, however, there is no requirement the files be copied in any order or in any relationship to the WT_CURSOR::next calls, only that all files have |