-
Utilizing the Iterator to iterate through all Keys based on the v2.2.2
```go
package main
import (
"fmt"
"time"
"github.com/rosedblabs/rosedb/v2"
)
func main() {
options := rosedb.D…
-
```go
package main
import (
"fmt"
"github.com/rosedblabs/rosedb/v2"
"github.com/rosedblabs/rosedb/v2/utils"
)
func main() {
options := rosedb.DefaultOptions
options.DirPath = "./tm…
-
reproduce the problem:
```
go test -race -test.run TestDB_Merge_6_Appending -v ./
```
then an error occurred:
```
WARNING: DATA RACE
Read at 0x00c001146be8 by goroutine 6:
github.com/ro…
-
When I tested the kv stores, I found that rosedb will take very high memory usage, I think we can investgate why this will happen.
step to reproduce the problem:
```
git clone https://github.co…
-
it would be nice to support batch writes.
i want to be able to buffer all of my DB modifications that are appended to the WAL during a batch insert and only when the batch insert is completed flush i…
-
- [x] optimize merge operation, provide an option to rebuild the index after the merge is done @Jeremy-Run
* discussion: #251
- [x] refactor index module, use in-memory btree as backend.
- [ ] ~~…
-
当 Merge() 方法连续执行两次后,重新打开数据库,就会提示:remove 000000002.SEG: no such file or directory
why is that?
-
When we use the EXPIRE command to set a lifespan for a particular key, we would like the ability to remove the key's lifespan using a command similar to PERSIST, ensuring that the key remains in exist…
-
If record == nil, the if statement cannot enter, and Rlock will never Runlock, which will cause the wait reader of this lock to increase continuously, and finally when the wait reader == 98, panic
-
- [x] Optimize memory usage #236
- EncodeLogRecord(using sync.Pool)
- not necessary
- DecodeLogRecord(using sync.Pool)
- not necessary
- wal.readInternal
- has improved a lot …