Jonas Borgström
5a69f58823
Introduce a separate exception for missing repository objects
2014-10-09 20:41:47 +02:00
Jonas Borgström
2f72b9f960
HashIndex: Switch to a non-mmap based implementation
...
This eliminates unnecessary IO on low memory systems
2014-07-10 15:32:29 +02:00
Jonas Borgström
64cd6632a1
Avoid deadlock problems
...
Explicitly use write locks, instead of read locks (that are later
upgraded) unless we know we will never modify the repository
2014-05-31 15:39:51 +02:00
Jonas Borgström
90fe318809
Attempt to make the archive metadata resync more robust
2014-03-06 20:05:13 +01:00
Jonas Borgström
66a84c0c12
check: Fix a check --repair issue and added more tests
2014-03-06 12:05:22 +01:00
Jonas Borgström
6425d16aa8
repository: Fix potential race condition
...
If we crash between compact_segments() and write_index() and the
transaction deletes objects that are newer than the current index
might become undeleted.
2014-02-21 20:20:17 +01:00
Jonas Borgström
bd22bc8cb2
Automatically replay segments to rebuild missing repository index
2014-02-20 23:49:35 +01:00
Jonas Borgström
0d248192e5
Implemented Repository.list()
2014-02-10 21:55:22 +01:00
Jonas Borgström
bbf490bf8b
More repository check/repair improvements
2014-02-10 21:32:18 +01:00
Jonas Borgström
1809ea2f3e
More attic check --repair improvements
2014-02-09 16:05:04 +01:00
Jonas Borgström
33b58eac82
Initial check --repair support
2014-02-09 16:05:04 +01:00
Jonas Borgström
2252616f9e
Repository code cleanup
2014-02-08 13:32:47 +01:00
Jonas Borgström
4271ffa25f
Only cleanup partial transactions if an existing transaction is found
2014-02-05 22:49:12 +01:00
Jonas Borgström
faedaf8160
Basic repository consistency check functionality.
...
Still no archive metadata validation or repair functionality.
2014-02-05 00:04:30 +01:00
Jonas Borgström
b5b0b7b322
Add two additional tests.
2013-10-10 22:24:06 +02:00
Jonas Borgström
b718a443a8
Project rename
2013-07-09 20:14:18 +02:00