- fix
DefaultOptions
: just return a temp dir name instead of creating it.
- fix concurrent read
- Update wal, imporve the iterate performance, and remove block cache.
- Thanks to @yinheli
- Fix index lock
- Thanks to @Sora233
- perf: improve batch performance #303
- Fix index Less function panic.
- use wal write batch to optimize performance.
- optimize memory usage.
- Thanks to @LindaSummer
- Thanks to @justforward
- Thanks to @lyonzhi
- approce test case for windows(https://github.com/rosedblabs/rosedb/commit/7d8c6c0e09bd556b65f11b37eca12cfdcb81b567)
- Thanks to @246859
- fix(watch): make channnel that DB.Watch returns is readonly (#294)
- add filterExpired for ascend/descend keys
- Add persist function to remove the TTL of the key
- add AscendKeys and DescnedKeys
- Add Expire and TTL functions (#278)
- fix expire bug and add examples
- add iterate examples
- Thanks to @Jeremy-Run
- Thanks to @LEAVING-7
- Fix potential deadlock in merge.go (#279)
- fix reput ttl bug
- Support key expire
- You can call
PutWithTTL
to set the expire time for a key.
- You can call
- Thanks to @weijiew
- Add more BTree functions #264
- use BTree as the default memory data structure.
- the old Radix will be removed, and the iterator too.
- Thanks to @Jeremy-Run
- Thanks to @SYaoJun
- fix: single quote error in README (#256)
- Thanks to @weijiew
- add btree Ascend、Descend method and unitest. (#257)
- Watch Key feature support watch event by key #227 @Jeremy-Run
- Batch Optimiztion use sync.Pool to optimize db.Put operation #235
- Optimize memory usage enhancement: high memory usage of rosedb #236
- Thanks to @kebukeYi
- Thanks to @Jeremy-Run
- Thanks to @rfyiamcool
- fix: format code comment for rand_kv (#240)
- Thanks to @rfyiamcool for PR
- Support Merge operation, to reclaim disk space.
Merge
will rewrite all the valid data into new file, and delete the old files.- It maybe a very time-consuming operation, so it is recommended to use it when the database is idle.
- Add tests in windows, with worlflow.
-
Support iterator in rosedb, it can traverse the data in database in order. And the methods are as follows:
- Rewind
- Seek
- Next
- Key
- Value
- Close
And the prefix scan is also supported.
- Thanks to @rfyiamcool for PR
- #216 fix: update committed flag after batch commit
- Basic operations,
Put/Get/Delete/Exist
key value pairs. - Batch operations,
Put/Get/Delete/Exist
key value pairs, andCommit
. - DB functions,
Open/Close/Sync/Stat
.