summaryrefslogtreecommitdiff
path: root/bin/bbackupd/BackupClientDirectoryRecord.cpp
diff options
context:
space:
mode:
authorChris Wilson <chris+github@qwirx.com>2014-09-04 01:36:43 +0000
committerChris Wilson <chris+github@qwirx.com>2014-09-04 01:36:43 +0000
commit1c1b1953406707e0d8acf5d33ddc2a51d1ee5155 (patch)
tree0c143a3eb7745c4b4ea233186d3ba0a8da3de235 /bin/bbackupd/BackupClientDirectoryRecord.cpp
parente8a4a86e0043e6f6d12e6e29ef5b5e0268fb44a6 (diff)
Handle raidfile versioning better on low time accuracy systems.
We simulate a 1 second accuracy clock in DEBUG mode on all systems, to help catch corner cases in tests. This now applies to both RAID and non-RAID files. We always add file size to the version number to help detect changes, especially in such cases. In RELEASE builds, we use as much accuracy from the clock as we can get, as well as file size.
Diffstat (limited to 'bin/bbackupd/BackupClientDirectoryRecord.cpp')
0 files changed, 0 insertions, 0 deletions