Author | SHA1 | Message | Date |
---|---|---|---|
Jae Kwon |
4ce8448d7f
|
Nil keys are OK, deprecate BeginningKey/EndingKey (#101)
* Nil keys are OK, deprecate BeginningKey/EndingKey |
7 years ago |
Emmanuel Odeke |
a7b20d4e46
|
db: Simplify exists check, fix IsKeyInDomain signature, Iterator Close
+ *FSDB.HasKey now uses common.FileExists to test for file existence + IsKeyInDomain takes key as a []byte slice instead of as a string to avoid extraneous []byte<-->string conversions for start and end + Iterator.Close() instead of Iterator.Release() + withDB helper to encapsulate DB creation, deferred cleanups so that for loops can use opened DBs and discard them ASAP Addressing accepted changes from review with @jaekwon |
7 years ago |
Ethan Buchman | 318982c0ba | checkKeyCondition -> IsKeyInDomain | 7 years ago |
Ethan Buchman | edf07760d6 | db: fsdb iterator | 7 years ago |
Jae Kwon | 0d03cd9e31 | Make it compile | 7 years ago |
Jae Kwon |
8481c49c82
|
CacheDB (#67)
* Add CacheDB & SimpleMap * Generic memBatch; Fix cLevelDB tests * CacheWrap() for CacheDB and MemDB * Change Iterator to match LeviGo Iterator * Fixes from review * cacheWrapWriteMutex and some race fixes * Use tmlibs/common * NewCWWMutex is exposed. DB can be CacheWrap'd * Remove GetOK, not needed * Fsdb (#72) * Add FSDB * Review fixes from Anton * Review changes * Fixes from review |
7 years ago |