Elliot Chen
Elliot Chen
有点东西
有点东西,但是东西不多。
请问这个库在mock的过程会启动一个database的实例吗?在这运行过程中更改的数据会记录binlog吗?
hi, I use this repo and run its demo code in my M1 Mac book pro. It seems it can not build up. The error is below: `# github.com/goccy/go-jit/internal/ccall jit-apply.c:357:3:...
添加单元测试
目前从codecov的结果来看,我们的单元测试覆盖率为71%左右。想请想要了解和上手这个项目的小伙伴来优化一下单元测试覆盖率。放方便上手这个项目。这个issue要做的内容包括有。 - [ ] https://app.codecov.io/gh/nutsdb/nutsdb/blob/master/tar.go 函数:tarDecompress @hunknownz - [ ] https://app.codecov.io/gh/nutsdb/nutsdb/blob/master/tx_zset.go 函数:ZPeekMax @xiaolin820 - [x] https://app.codecov.io/gh/nutsdb/nutsdb/blob/master/tx_zset.go 函数:ZPeekMin @dreamjz - [ ] https://app.codecov.io/gh/nutsdb/nutsdb/blob/master/tx_zset.go 函数: ZRangeByScore @her-cat - [ ] https://app.codecov.io/gh/nutsdb/nutsdb/blob/master/tx_zset.go 函数:...
**简单任务** - [x] 整理 readme 文件 #402 @hanxuanliang **上手型任务** - [ ] 继续重构测试用例。目前 db_test.go 已经完成了重构,但其它的db相关的测试仍然会用到 db_test.go 里用到的全局变量,**可以按照 db_test.go 的方式**重构其它测试用例。可以参照这个 pr 的方式来重构:https://github.com/nutsdb/nutsdb/pull/375 。以下这些文件可以一个一个领,因为任务量都比较大。 - [x] tx_list_test.go @TremblingV5 - [x] tx_set_test.go @G-XD...
This place marks the features going to do in the coming release, and we will release a new version of Nutsdb once any of them be done. - [ ]...
当前的存储的数据Entry在磁盘中的存储形式是 Header+Bucket+Key+Vlaue,考虑到Bucket其实互异性不是很强,也就是说数据和bucket其实是多对一关系。可以考虑加入Meta.dat(暂定的名字)专门存储Bucket,并且给每个Bucket分配唯一ID,在Entry Meta中存储BucketID就好。这样做有以下好处。 1. 可以减少存储空间,Bucket越少,数据越多,效果越明显。并且可以加快启动时间。因为读取的内容少了。 2. 介绍索引所占内存。使用BucketID而不是bucket内容参与索引,可以减少索引内存的使用。 所以会存在一个存储协议升级的问题,发版之后可能需要提供工具让用户升级存储的协议。 The current storage format of the stored data Entry in the disk is Header+Bucket+Key+Vlaue. Considering that the buckets are not very different...
This issue is going to mark all the issues that rookie can quickly start! 这个issue用来标记一些新手可以快速上手了解这个项目的任务。 - [ ] db.go里面这个这个错误处理里面的字符串可以抽取成一个静态变量,这样更优雅一些。
If you want to raise some thoughts that will make this project better, please mark this issue. Thanks! 如果你对Nutsdb有什么优化思路,或者哪些地方设计不合理,可以在这里留言回复,或者建一个issue关联这个issue。感谢。