Closed dustleafwjl closed 2 months ago
有几个问题:
opts := rosedb.DefaultOptions
opts.DirPath = kvdir
opts.Sync = true
db, err := rosedb.Open(opts)
另外还出现另外一个问题:正常使用(十分钟之后),在GetValue的时候会报错invalid crc, the data may be corrupted
。看起来是CRC校验没通过。这个问题在key比较小的时候也会出现。
已经在最新的 v2.3.8 中修复了
运行环境:
报错日志
复现步骤
目前使用单元测试的方式还未复现,感觉像是初始化内存未完成时,批量去查询出现的问题。一段时间之后,就不会有这个问题了。我先提一个issue,过段时间在看看能不能复现。