summaryrefslogtreecommitdiff
path: root/lib/backupstore/BackupStoreRefCountDatabase.cpp
Commit message (Collapse)AuthorAge
* Fix test failures caused by failure to commit the temporary refcount DB.Chris Wilson2015-04-06
| | | | Files need to be closed before renaming over them on Windows.
* Improve error logging in win32 emu library.Chris Wilson2015-04-06
| | | | | | Consistently capture the last Windows error code in the global variable winerrno. Add logging macros that report the Windows error message for this error code.
* Repair the refcount database while checking accounts for errors.Chris Wilson2014-10-31
| | | | | | | Normally this will be done by housekeeping anyway, so it's not that useful, but it's good to check for it in tests, especially when testing BackupStoreCheck's ability to repair bad things that happened to the store when they involve references.
* Whitespace, comments and log messages cleanups.Chris Wilson2014-03-02
|
* Create new refcount database atomically during account check.Chris Wilson2014-02-07
| | | | | | | | | | | Use a temporary refcount db for check instead of an in-memory vector. This avoid the memory usage problems created by using the vector on large accounts, but may require us to improve the efficiency of the refcount database itself to avoid large numbers of small I/O operations. That is very doable now that we're using a class for it. Fix some inconsistencies and mistakes in handling reference counts and info counters during account checks (more to come).
* Remove commented-out method copied from BackupStoreInfo and not used.Chris Wilson2012-11-07
|
* Improve error logging for store info and refcount database errors.Chris Wilson2011-06-16
|
* Use the reference count database name constant rather than hard-coding it.Chris Wilson2011-04-20
|
* Fix compile failure reported by Achim.Chris Wilson2009-08-01
|
* Make GetRefCount return a refcount_t rather than an int32_t.Chris Wilson2009-06-28
| | | | | Make refcount_t unsigned and make its definition public.
* Add code for BackupStoreRefCountDatabase.Chris Wilson2009-06-27
Create a refcount database when creating a new account. Add an easier way to get the account root directory.