| Commit message (Collapse) | Author | Age |
|
|
|
| |
Use the rmdir command instead of rm -rf.
|
|
|
|
|
| |
Move common code into a base class, leaving bbstored-specific code.
Add skeleton of an S3 store type.
|
|
|
|
|
|
|
|
|
|
|
| |
The old assertion, that the write lock file exists before starting checking,
was erroneously passing before when no lock was held, because the lockfile
was never deleted. Now that we delete it when unlocking the account, this
started causing test failures.
Changed the way that accounts are checked for errors to use a function that
acquires a write lock first, and modified test to disconnect open clients
before starting checking the account, to fix it.
|
|
|
|
| |
Deleting the account deletes the lockfile, so unlocking fails.
|
|
|
|
|
| |
And compile errors on recent MinGW.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Will hopefully prevent future confusion about the meaning of this info
variable.
|
|
|
|
|
|
|
|
|
|
|
| |
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).
|
|
|
|
|
|
| |
This reverts commit b3bc7ad5be2c5b2588793aaa9fbc05e4a1c0aea5.
Should not have been applied in SVN (not just yet, anyway).
|
|
|
|
| |
This reverts commit 9d0580c58025ba94bee02cdc2aae3fe0b6ccf604.
|
| |
|
|
|
|
|
| |
Allows us to call them from tests without shelling out, making debugging
easier.
|
|
|
|
|
|
| |
Use it in two places to simplify code (not in BackupStoreContext yet,
because that wants to communicate with HK process as well).
|
| |
|
|
|
|
|
|
|
| |
Create a refcount database when creating a new account.
Add an easier way to get the account root directory.
|
| |
|
|
|
|
| |
You may need a new checkout to see this.
|
|
|