Andrey Smirnov
211ac0501f
Rework the way database is open/re-open in aptly
...
Allow database to be initialized without opening, unify all the
open paths to retry on failure.
In API router make sure open requests are matched with acks in explicit
way.
This also enables re-open attempts in all the aptly commands, so it
should make running aptly CLI much easier now hopefully.
Fix up system tests for oldoldstable ;)
2017-07-05 00:17:48 +03:00
Andrey Smirnov
f58d2627c1
Add temporary DB and prefix methods to Storage
2017-02-14 02:26:32 +03:00
Chris Read
daf887e54f
Upgrade gocheck
2014-11-05 13:27:15 -06:00
Andrey Smirnov
3e5ba27cb7
Ability to re-open db after close. #45 #114
2014-10-02 21:13:56 +04:00
Andrey Smirnov
400d0da7d4
Add method to recover LevelDB after crash.
2014-04-05 00:30:39 +04:00
Andrey Smirnov
6a42aad322
Compact LevelDB in aptly db cleanup. #19
2014-03-17 16:22:49 +04:00
Andrey Smirnov
bff299d268
Batch writes/deletes in LevelDB.
2014-02-11 21:11:15 +04:00
Andrey Smirnov
8d72f1a959
Database: return list of keys by prefix.
2014-02-11 17:21:35 +04:00
Andrey Smirnov
78c7bf6af1
Double delete is not a problem.
2014-01-29 14:34:30 +04:00
Andrey Smirnov
bbec7ef948
Implement key deletion.
2014-01-17 00:28:10 +04:00
Sebastien Binet
ca33e07366
gofmt
2013-12-20 15:42:56 +01:00
Andrey Smirnov
97f4e8d5f2
Fetch by prefix from db.
2013-12-19 16:06:28 +04:00
Andrey Smirnov
b73def6b32
LevelDB first mockup.
2013-12-17 12:01:32 +04:00