- [New feature] Support Put/Get/Delete Operations
- [New feature] Support TTL
- [New feature] Support Range/Prefix Scanning
- [New feature] Support Merge Operation
- [New feature] Support BackUp Operation
- [New feature] Support Bucket
- [New feature] Support list
- [New feature] Support set
- [New feature] Support sorted set
- [Bug Fix] Fix error when batch put operations
- [Change] Update README && CHANGELOG
- [New feature] Support persistence
- [Bug Fix] Fix when fn is nil
- [Change] Discard mmap package
- [Change] Discard EntryIdxMode options: HintAndRAMIdxMode and HintAndMemoryMapIdxMode
- [Change] Add new EntryIdxMode options: HintKeyValAndRAMIdxMode and HintKeyAndRAMIdxMode
- [New feature] Support mmap loading file
- [Bug Fix] Fix tx bug when a tx commits
- [Change] Add rwmanager interface
- [Change] Add new options: RWMode, SyncEnable and StartFileLoadingMode
- [Change] Clean up some codes
- [Change] Update README && CHANGELOG
- [New feature] Support EntryIdxMode: HintBPTSparseIdxMode
- [New feature] Support GetAll() function for all models
- [Bug Fix] Fix error too many open files in system
- [Bug Fix] Fix constant 2147483648 overflows int
- [Bug Fix] Fix when the number of files waiting to be merged not at least 2
- [Bug Fix] Fix data pollution when executing the merge method
- [Change] Modify Records type && Entries type
- [Change] Refactor for tx Commit function
- [Change] Update Iterating over keys about README
- [Change] Fix some grammatical mistakes about README
- [Change] Rename variable for func ReadBPTreeRootIdxAt
- [Change] Add issue templates
- [Change] Update README && CHANGELOG
- [New Feature] Add PrefixSearchScan() with regexp search ability(#53)
- [New Feature] Allow put with timestamp (#88 )
- [Bug Fix] Fix ZMembers bug (#58 )
- [Bug Fix] Repeated key merge fix (#83 )
- [Bug Fix] The LRem implementation is not consistent with the description (#92 )
- [Refactor] Improve buildBPTreeRootIdxes file reading (#67)
- [Docs] Update README && CHANGELOG
- [New Feature] support im memory db (#109)
- [New Feature] Add backup with tar+gz (#111)
- [New Feature] Add IterateBuckets() and DeleteBucket()
- [Refactor] refactor error (#112)
- [Bug Fix] Windows The process cannot access the file because it is being used by another process. (#110)
- [Docs] Update README && CHANGELOG
- [Bug Fix] Delete buckets without persistence.(#115)
- [Perf] optimize tx commit for batch write (#132)
- [Bug Fix] fix: open file by variable (#118)
- [Bug Fix] fix close file before error check(#122)
- [Bug Fix] fix rwManager.Close order(#133)
- [Bug Fix] fix last entry status error (#134)
- [Bug Fix] fix: read ErrIndexOutOfBound err
- [CI] add unit-test action (#120)
- [Chore] add constant ErrKeyNotFound and ErrKeyNotExist (#125)
- [Chore] chore: remove unnecessary conversion (#126)
- [Chore] chore(ds/list): replace for-loop with append (#127)
- [Chore] add push check for lint, typo (#131)
- [Style] style: fix typo and ineffectual assignment (#130)
- [Bug Fix] close file before error check &remove redundant judgments (#137) @xujiajun
- [Bug Fix] update golang.org/x/sys to support go1.18 build (#139)@ag9920
- [Bug Fix] when use merge, error: The process cannot access the file because it is being used by another process (#166) @xujiajun
- [Bug Fix] fix code example. (#143) @gphper
- [Bug Fix] merge error after delete bucket (#153) @xujiajun
- [Perf] add fd cache(#164) @elliotchenzichang
- [Perf] optimize sadd function inserting duplicate data leads to datafile growth (#146) @gphper
- [Refactor] rewrite managed to support panic rollback (#136)@ag9920
- [Refactor] errors: optimize error management (#163) @xpzouying
- [Test] Update testcase: use testify test tools (#138) @xpzouying
- [Test] change list and set test with table driven test and testify (#145) @bigdaronlee163
- [Test] refactor db_test for string use testify (#147) @Rand01ph
- [Test] add [bucket_meat/entry] unit test (#148) @gphper
- [Test] update bptree unittest (#149) @xpzouying
- [Test] Update tx bptree testcase (#155) @xpzouying
- [Test] complete zset tests with testify (#151) @bigdaronlee163
- [Test] optimization tx_bucket_test and bucket_meta_test (#156) @gphper
- [Test] test:complete tx_zset tests with testify (#162) @bigdaronlee163
- [Chore] remove unused member (#157) @xpzouying
- [Style] format code comments etc. (#140) @moyrne
- [Bug Fix]List data structure with count parameter negative, lack of boundary judgment (#183) @andrewhzy
- [New Feature] add LRemByIndex (#174) @Nailcui
- [New Feature] add LKeys SKeys ZKeys API (#175) @Nailcui
- [New Feature] add Iterator API (HintKeyAndRAMIdxMode and HintKeyValAndRAMIdxMode)(#191) @zeina1i
- [Refactor] graceful options parameters (#185) @Nailcui
- [Test] Add rwmanager fileio test (#170) @zeina1i
- [Test] Improve code coverage about list (#183) @andrewhzy
- [Test] Test coverage improvement for inmemory (#187) @andrewhzy
- [Docs] A few corrections in ReadME file (#171) @kwakubiney
- [Bug Fix] In BPTSparse when combination of bucket and key is repeated (#207) @ShiMaRing
- [Bug Fix] MInInt function compatible with 32-bit operating systems (#208) @xujiajun
- [Bug Fix] Index EOF issue#213 (#214) @xujiajun
- [Perf] Optimize concurrent read performance (#205) @elliotchenzichang
- [Perf] Use biobuf optimaze startspeed (#212) @elliotchenzichang
- [New Feature] Support reverse iterator (EntryIdxMode: HintKeyAndRAMIdxMode and HintKeyValAndRAMIdxMode) (#202) @zeina1i
- [New Feature] Add support for IterateBuckets regularized matching (#198) @Nailcui
- [New Feature] list all key of bucket in memory mode (#206) @Nailcui
- [New Feature] Add PrefixScan in memory mode (#211) @Nailcui
- [Refactor] make default options to be created in a factory method (#196) @elliotchenzichang
- [Refactor] use size constant value (#204) @elliotchenzichang
- [Chore] add iterator example (#209) @xujiajun
- [Chore] remove option StartFileLoadingMode (#218) @xujiajun
- [Bug Fix] avoid nil of it.current (#233) @mindon
- [Bug Fix] it.current may be nil when options.Reverse is false (#234) @xujiajun
- [Refactor] changing the lock to be one of property of the structure can make the code more readable.(#228) @elliotchenzichang
- [New Feature] add buffer size of recovery reader as param (#230) @elliotchenzichang
- [New Feature] feat:support ttl function for list (feat:support ttl function for list #263) @xuyukeviki
- [Bug Fix] fix: panic: db.buildIndexes error: unexpected EOF issue (panic: db.buildIndexes error: unexpected EOF #244) @xujiajun
- [Bug Fix] issue NewIterator with Reverse=true stop at 28 records #250 :: Andrew :: bug fixed (issue #250 :: Andrew :: bug fixed #266) @andrewhzy
- [Bug Fix] Fix issues LIST "start or end error" after deleting the last item from list #280: LIST "start or end error" after deleting the last item Fix issues #280: LIST "start or end error" after deleting the last item #282 @ShawnHXH
- [Performance] Use file recovery in merge (Use file recovery in merge #259) @elliotchenzichang
- [Performance] perf(read): reduce one read I/O perf(read): reduce one read I/O #271 @lugosix
- [Refactor] add options function of BufferSizeOfRecovery (add options function of BufferSizeOfRecovery #236) @elliotchenzichang
- [Refactor] add fd release logic to file recovery reader (add fd release logic to file recovery reader #242 ) @elliotchenzichang
- [Refactor] rebuild parse meta func (rebuild parse meta func #243 ) @elliotchenzichang
- [Refactor] change the xujiajun/nutsdb -> nutsdb/nutsdb change the xujiajun/nutsdb -> nutsdb/nutsdb #281 @elliotchenzichang
- [Refactor] Update doc Update doc #285 @elliotchenzichang
- [Refactor] Fix verify logic Fix verify logic #286 @elliotchenzichang
- [Refactor] fix: issue (Error description problem about IsPrefixSearchScan #288) fix: issue (#288) #289 @CodePrometheus
- [Refactor] docs: fix typo( docs: fix typo #252) @icpd
- [Refactor] fix a typo in code fix a typo #291 @elliotchenzichang
- [UnitTest] Adding a test of readEntry() and refacting readEntry() (Adding a test of readEntry() and refacting readEntry() #237 ) @wangxuanni
- [UnitTest] test coverage improvement (fix: issue (#213) #214 ) @andrewhzy
- [UnitTest] adding a test for IsKeyEmpty func in github.com/xujiajun/nutsdb/errors.go:26 (adding a test for IsKeyEmpty func in github.com/xujiajun/nutsdb/errors.go:26: #265) @lyr-2000
- [UnitTest] Add test for SetKeyPosMap in nutsdb/bptree.go (Add test for SetKeyPosMap in nutsdb/bptree.go #268) @ShawnHXH
- [UnitTest] Add test for ToBinary in bptree.go Add test for ToBinary in bptree.go #272 @ShawnHXH
- [UnitTest] Add test for bucket in errors.go Add test for bucket in errors.go #278 @ShawnHXH
- [UnitTest] add test for rwmanger_mmap.Release add test for rwmanger_mmap.Release #283 @vegetabledogdog
- [UnitTest] test: add tests for IsDBClosed, IsPrefixScan and IsPrefixSearchScan test: add tests for IsDBClosed, IsPrefixScan and IsPrefixSearchScan #290 @CodePrometheus
- [Bug Fix] fix delete non exist will not raise error bug by @elliotchenzichang in #331
- [Bug Fix] issue #306 - added a MAX_SIZE const that fits 32 and 64bit arch by @hivenet-philippe in #308
- [New Feature] add GetListTTL by @wangxuanni in #316
- [Refactor] delete a repeat error validation logic by @elliotchenzichang in #324
- [Refactor] make bucket value as a property in entry by @elliotchenzichang in #323
- [Refactor] move crc property into meta struct by @elliotchenzichang in #325
- [Refactor] delete the position property of entry struct by @elliotchenzichang in #326
- [Refactor] Refactor-actor method isFilterEntry by @elliotchenzichang in #327
- [Refactor] add function return the status of DB by @elliotchenzichang in #329
- [Refactor] add status management by @elliotchenzichang in #330
- [Refactor] rebuild the status management code by @elliotchenzichang in #332
- [Refactor] delete the param of writelen by @elliotchenzichang in #333
- [Refactor] Refactor entry length check by @elliotchenzichang in #334
- [Test] Add test for PutWithTimestamp in tx.go by @rayz in #307
- [Docs] docs(readme): format code by @rfyiamcool in #319
- [Bug Fix] fix ignore bucket when db recovering by @elliotchenzichang in #336
- [Bug Fix] fix the bucket issue by @elliotchenzichang in #337
- [Bug Fix] fix: err desc for ErrWhenBuildListIdx by @xujiajun in #338
- [Bug Fix] fix: r.E.Bucket err by @xujiajun in #341
- [Bug Fix] fix: remove unnecessary null checks when writing to a list. by @bigboss2063 in #353
- [Bug Fix] fix the bug of nil entry by @elliotchenzichang in #377
- [Bug Fix] bug fix, add defer function to release lock to avoid deadlock by @elliotchenzichang in #356
- [Bug Fix] Fix the bug of nil entry by @elliotchenzichang in #380
- [Bug Fix] fix: deadlock caused by error by @lyl156 in #371
- [New Feature] feature: make all objects set to nil after the user calls the close f… by @tobehardest in #374
- [New Feature] feat: implement file lock by @bigboss2063 in #372
- [Refactor] just move the index structure in a rightful space by @elliotchenzichang in #343
- [Refactor] fix some issue in go mod config by @elliotchenzichang in #345
- [Refactor] rebuild the index module for index struct by @elliotchenzichang in #346
- [Refactor] rebuild the add function in list index by @elliotchenzichang in #350
- [Refactor] use bytes.Equal instead bytes.Compare by @testwill in #355
- [Refactor] rebuild the way to create hint object by @elliotchenzichang in #357
- [Refactor] rebuild isFilter function by @elliotchenzichang in #358
- [Refactor] rebuild the way to new Entry Object by @elliotchenzichang in #359
- [Refactor] add comments in entry file by @elliotchenzichang in #362
- [Refactor] rebuilt the way to new Record object by @elliotchenzichang in #365
- [Refactor] rebuild part of recovery logic by @elliotchenzichang in #366
- [Refactor] refactor: use a const to replace magic string by @bigboss2063 in #376
- [Test] Add test WithNodeNum in nutsdb/options.go by @dongzhiwei-git in #361
- [Test] test: test WithRWMode by @JingchenZhang in #368
- [Test] test: test rw manager mmap by @lyl156 in #363
- [Test] add test case for ErrWhenBuildListIdx func in db.go and optimize enqueue func in bptree.go and add test case by @damotiansheng in #370
- [Test] test with ReadNode ,WithCleanFdsCacheThreshold,WithMaxFdNumsInCache,WithSyncEnable by @JingchenZhang in #369
- [Test] test: rebuild unit tests in db_test.go(issue#374, task 4) by @bigboss2063 in #375
- [Chore] chore: remove element in cache on closing fd manager by @lyl156 in #364
- [Refactor] refactor: refactoring the initialization way of the MetaData by @bigboss2063 in #381
- [Refactor] Small scope refactoring code:move some util func to utils.go from db.go by @damotiansheng in #379
- [Bug Fix] fix: fix the bug that allows deletion of a non-existent bucket. by @bigboss2063 in #388
- [Perf] pref: remove sync.Pool and prev allocate buffer for small tx by @bigboss2063 in #384
- [New Feature] feat: implement automatic merging by @bigboss2063 in #393
- [New Feature] feat: add custom comparator by @lyl156 in #389
- [New Feature] feat: refactor list data structure by using doubly linked list and support HintKeyAndRAMIdxMode by @bigboss2063 in #390
- [Docs] doc: update options doc by @lyl156 in #391
- [Docs] doc: add a new option and update the default option by @bigboss2063 in #396
- [Chore] chore: add error handler for error occurred during transaction by @lyl156 in #383
- feat: make Set support HintKeyAndRAMIdxMode by @bigboss2063 in nutsdb#397
- add batch write by @damotiansheng in nutsdb#398
- fix: fixed the issue where deletion did not actually remove the record from memory. by @bigboss2063 in nutsdb#407
- feat: make sorted set to support HintKeyAndRAMIdxMode by @bigboss2063 in nutsdb#426
- pref: refactor index item to save memory usage by @bigboss2063 in nutsdb#434
- feat: implemented configurable automatic expiration deletion, optional time heap or time wheel by @bigboss2063 in nutsdb#435
- repair tx.SMembers bug by @damotiansheng in nutsdb#404
- fix: fix dead lock during merging by @bigboss2063 in nutsdb#417
- [bugFix]Add tx data handle logic in recovery by @elliotchenzichang in nutsdb#418
- [bug fix]add skip entry zero error when recovery by @elliotchenzichang in nutsdb#420
- fix: fix the problem that an error occurs when switching between the first and the second mode at startup by @bigboss2063 in nutsdb#423
- fix: recover panic when executing tx by @bigboss2063 in nutsdb#429
- fix: fix the problem of allowing delete the non-exist member of a set by @bigboss2063 in nutsdb#432
- fix: fix the bugs of ttl effective time and IsExpired method by @bigboss2063 in nutsdb#437
- [bugFix]fix the bug in prase data in an tx by @elliotchenzichang in nutsdb#441
- fix: fix bug in
txZCard
by @G-XD in nutsdb#444 - [bugFix]fix the bug in data in tx logic by @elliotchenzichang in nutsdb#453
- fix: merge not allowed when using list type (temporary fix) by @bigboss2063 in nutsdb#457
- create dir if not exist by @moyrne in nutsdb#399
- optimize parseDataFiles error check by @moyrne in nutsdb#401
- [Test] Restart the database using three modes by @RuiHuaLiu2023 in nutsdb#406
- chore: update ci.yml by @bigboss2063 in nutsdb#409
- style: remove useless code by @bigboss2063 in nutsdb#411
- chore: add change log by @xujiajun in nutsdb#412
- ref: use goto refactor recovery logic by @elliotchenzichang in nutsdb#414
- [ref]delete the map db.committedTxIds, it will not needed any more by @elliotchenzichang in nutsdb#421
- [ref]rebuild the recovery logic, and delete the unconfirmedRecordList by @elliotchenzichang in nutsdb#422
- doc: update README.md and add comments for tx_zset.go by @bigboss2063 in nutsdb#427
- delete getActiveFileWriteOff func by @damotiansheng in nutsdb#428
- [ref] rebuild the error handling logic in recovery by @elliotchenzichang in nutsdb#430
- refactor: unified delete bucket in buildNotDSIdxes by @bigboss2063 in nutsdb#433
- doc: update README.md and README-CN.md by @bigboss2063 in nutsdb#436
- refactor: use chained calls instead of direct initialization by @bigboss2063 in nutsdb#439
- [ref] move the errors in db file to another separated file. by @elliotchenzichang in nutsdb#440
- [refactor] Refactoring commit by @RuiHuaLiu2023 in nutsdb#438
- test: refactor
tx_set_test
by @G-XD in nutsdb#445 - test: refactor
tx_bucket_test
by @G-XD in nutsdb#446 - [ref]move the tx error to separated file by @elliotchenzichang in nutsdb#447
- refactor: remove func ErrWhenBuildListIdx by @TremblingV5 in nutsdb#443