summaryrefslogtreecommitdiff
path: root/lib/backupstore/BackupStoreContext.h
Commit message (Collapse)AuthorAge
* Whitespace, layout and comment cleanups.Chris Wilson2015-08-15
|
* Add cache invalidation checks to BackupStoreDirectory.Chris Wilson2014-11-16
| | | | | | | | | | Allows us to catch programming errors related to use of a cached reference to a directory after the cache may have been invalidated by requesting another directory from the cache, which could clear it. In DEBUG builds, the cache is no longer cleared, but any entries in it are invalidated, which is effectively a memory leak, but these builds should only be used for running tests, where it doesn't matter.
* Whitespace, comment and readability fixesChris Wilson2014-10-31
|
* Don't require passing the object ID into BackupStoreContext::SaveDirectory.Chris Wilson2014-04-09
| | | | | | | Passing the wrong object ID would just result in an assertion being thrown (in debug builds) or silently doing the wrong thing (in release builds). I can't see any useful use for this extra parameter, since we can get the container ID from the directory anyway.
* Add QueryCreateDirectory2 command.Chris Wilson2014-03-02
| | | | | Allows creating a directory with a specified modtime (in the parent directory entry). Tests to come shortly.
* Fix crash in BackupStoreContext with no HousekeepingInterface pointer.Chris Wilson2014-02-27
| | | | | | Rename mrDaemon to mpHousekeeping and make it a pointer, so that it can officially be NULL, and don't crash if it is, and we fail to get a lock on the account.
* Fix accounting for old and deleted files and blocks during backup operations.Chris Wilson2014-02-10
| | | | Adding and deleting files was not always accounted properly before.
* Add a ClearDirectoryCache method to BackupStoreContext.Chris Wilson2014-02-10
| | | | It's used in several places, and about to be one more.
* Rename BackupStoreContext.GetStoreRoot() to GetAccountRoot().Chris Wilson2014-02-07
| | | | More accurate name for this variable.
* Add ReleaseWriteLock to BackupStoreContext.Chris Wilson2014-02-07
| | | | Not really an API, but useful for BackupProtocolLocal2.
* Allow getting the name of the current phase of a BackupStoreContext.Chris Wilson2013-08-21
| | | | | Useful for debugging when the phase is not as expected.
* Add remote host and port to post-login login message, requested by Pete Jalajas.Chris Wilson2011-12-13
|
* Log the account name with connections, disconnections and statistics, ↵Chris Wilson2011-12-12
| | | | requested by Pete Jalajas.
* Add missing include of backup protocol.Chris Wilson2011-08-28
|
* Combine client and server protocols to make way for an offline/local protocol.Chris Wilson2011-08-27
| | | | | Rename ProtocolObject to Message.
* Major refactoring to make lib/backupclient depend on lib/backupstore ratherChris Wilson2011-04-26
than the other way around. This is needed to allow clients to have all the code that they'd need to implement local backups (using the Local protocol) in subsequent commits.