Commit Graph

121 Commits

Author SHA1 Message Date
XuanYang-cn
41f1378a01
[skip ci]Update license for kv kv (#10896)
Signed-off-by: yangxuan <xuan.yang@zilliz.com>
2021-10-29 13:15:04 +08:00
XuanYang-cn
848fa77d13
[skip ci]Update license for kv rocksdb (#10895)
Signed-off-by: yangxuan <xuan.yang@zilliz.com>
2021-10-29 13:13:15 +08:00
XuanYang-cn
005d177f68
[skip ci]Update license for kv etcdkv (#10894)
Signed-off-by: yangxuan <xuan.yang@zilliz.com>
2021-10-29 13:11:24 +08:00
XuanYang-cn
978229517d
[skip ci]Update license for kv mem (#10893)
Signed-off-by: yangxuan <xuan.yang@zilliz.com>
2021-10-29 13:09:33 +08:00
XuanYang-cn
08cd25c14f
[skip ci]Update license for kv minio (#10892)
Signed-off-by: yangxuan <xuan.yang@zilliz.com>
2021-10-29 13:07:43 +08:00
XuanYang-cn
8885c510ef
[skip ci]Update license for kv etcd (#10891)
Signed-off-by: yangxuan <xuan.yang@zilliz.com>
2021-10-29 12:12:44 +08:00
congqixia
95b8953bac
Add kv Value interface (#10469)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2021-10-29 00:16:38 +08:00
zhenshan.cao
5320698e29
[skip ci]Fix golint error in mem_kv (#10862)
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2021-10-28 23:54:55 +08:00
zhenshan.cao
25551ffa2f
[skip ci]Fix golint error in memory_kv (#10861)
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2021-10-28 23:42:39 +08:00
Xiaofan
93f205b49e
Rename param names (#10853)
* Rename param names

Signed-off-by: xiaofan-luan <xiaofan.luan@zilliz.com>

* Rename configs

Signed-off-by: xiaofan-luan <xiaofan.luan@zilliz.com>
2021-10-28 23:16:40 +08:00
BIKI DAS
1f2f76789e
Combined function params (#10786)
Signed-off-by: Biki-das <bikid475@gmail.com>
2021-10-28 15:58:29 +08:00
zhenshan.cao
d598c78bbf
[skip ci]Fix golint error in minio_kv (#10702)
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2021-10-26 22:42:25 +08:00
zhenshan.cao
dcac9c71b1
[skip ci]Fix golint error in minio_kv (#10701)
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2021-10-26 22:40:34 +08:00
zhenshan.cao
4ca4c81ce3
[skip ci]Fix golint error in minio_kv (#10700)
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2021-10-26 22:38:44 +08:00
zhenshan.cao
58d202f200
[skip ci]Fix golint error in minio_kv (#10699)
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2021-10-26 22:36:53 +08:00
cai.zhang
5b42a3223c
Increase compatibility for EstimateMemorySize interface (#10603)
Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
2021-10-26 15:34:21 +08:00
congqixia
ed2b8d67c0
Reduce info saved in SnapshotMeta (#10288)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2021-10-21 14:04:36 +08:00
godchen
8daeb0d519
Change bloom filter use pk (#10193)
Signed-off-by: godchen <qingxiang.chen@zilliz.com>
2021-10-19 20:18:47 +08:00
zhenshan.cao
e97b62cf67
Change RocksDBLRUCache size to 0 (#9820)
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2021-10-13 20:28:34 +08:00
Cai Yudong
c7566345eb
Simplify meta_snapshot interface (#9778)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-10-13 15:54:33 +08:00
dragondriver
41bd866ff6
Support LoadPartial interface for DataKV (#9554)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-10-09 19:33:03 +08:00
yukun
a6e97e0d44
Change LRUCache size of rocksdb to 512MB (#9509)
Signed-off-by: fishpenguin <kun.yu@zilliz.com>
2021-10-09 11:08:56 +08:00
yukun
d9115fe78d
Set PinL0FilterAndIndexBlocksInCache to true for rocksdb (#8855)
Signed-off-by: fishpenguin <kun.yu@zilliz.com>
2021-10-08 10:19:06 +08:00
zhenshan.cao
405fe29b0b
[skip ci] fix golint error in metakv_factory.go (#9152)
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2021-10-03 20:52:20 +08:00
yukun
2e77c1d1cd
Format rocksdb_kv code (#8982)
Signed-off-by: fishpenguin <kun.yu@zilliz.com>
2021-09-30 22:40:14 +08:00
yukun
e85cbea18d
Set CacheIndexAndFilterBlocks to true for rocksdb (#8851)
Signed-off-by: fishpenguin <kun.yu@zilliz.com>
2021-09-29 18:45:59 +08:00
godchen
167069c810
[skip ci]Add kv comment (#8880)
Signed-off-by: godchen <qingxiang.chen@zilliz.com>
2021-09-29 18:39:59 +08:00
yukun
c438001a62
Fix rocksdb_kv value free (#8798)
Signed-off-by: fishpenguin <kun.yu@zilliz.com>
2021-09-28 22:34:04 +08:00
yukun
7c2729916b
Fix rocksdb_kv error process (#8744)
Signed-off-by: fishpenguin <kun.yu@zilliz.com>
2021-09-28 20:36:04 +08:00
yukun
93fa86daf2
Fix rocksdb_kv memory leak (#8743)
Signed-off-by: fishpenguin <kun.yu@zilliz.com>
2021-09-28 19:36:04 +08:00
yukun
aea7cc1630
Add rocksdb_kv ut (#8769)
Signed-off-by: fishpenguin <kun.yu@zilliz.com>
2021-09-28 17:48:08 +08:00
ZhiShen
0e767f0e1b
Change cmake version (#8666)
Change cmake version from 3.16 to 3.18

1. Change the CMakeList's minimum require version.

2. Change the describtion document of cmake version.

Resolves: milvus-io#8407

Signed-off-by: Shen Zhi <m13120163046@163.com>
2021-09-28 14:00:03 +08:00
Xiangyu Wang
ea53d52dba
Fix golint warnings in rockskv (#8723)
Signed-off-by: Xiangyu Wang <xiangyu.wang@zilliz.com>
2021-09-28 08:28:02 +08:00
cai.zhang
171f362b86
Use recursion to delete objects in minio (#8671)
Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
2021-09-27 16:20:06 +08:00
groot
e4e762f2e8
Reduce go unittest time cost (#8503)
Signed-off-by: yhmo <yihua.mo@zilliz.com>
2021-09-26 12:50:24 +08:00
Xiaofan
2f92f78e7b
Remove meaningless Etcd kv logs (#8019)
Signed-off-by: xiaofan-luan <xiaofan.luan@zilliz.com>
2021-09-22 20:27:54 +08:00
yukun
06c9f03c59
Refactor rocksmq close logic and improve codecov (#8278)
Signed-off-by: fishpenguin <kun.yu@zilliz.com>
2021-09-22 17:21:00 +08:00
godchen
c8c10bb3d6
Remove performanceTest (#8164)
Signed-off-by: godchen <qingxiang.chen@zilliz.com>
2021-09-18 10:13:52 +08:00
godchen
74bb712527
[skip ci]Add minio comment (#8165)
Signed-off-by: godchen <qingxiang.chen@zilliz.com>
2021-09-17 23:59:47 +08:00
yukun
5a303e7672
Fix rocksmq load with prefix (#7678)
Signed-off-by: fishpenguin <kun.yu@zilliz.com>
2021-09-10 10:22:01 +08:00
sunby
62f4cb5e1b
Remove stats watcher (#7501)
issue: #7500
Signed-off-by: sunby <bingyi.sun@zilliz.com>
2021-09-07 16:11:07 +08:00
dragondriver
960741ee16
Support more detailed metrics information (#7472)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-09-03 19:35:47 +08:00
zhenshan.cao
7c60e6aa00
Avoid port conflicts between embedded etcd and external etcd (#7320)
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2021-08-27 10:13:57 +08:00
Xiangyu Wang
c62f23e201
[skip ci]Remove neza2017 from reviewers (#7324)
Signed-off-by: Xiangyu Wang <xiangyu.wang@zilliz.com>
2021-08-27 00:27:36 +08:00
sunby
4d56d53c0b
Add a tool to move binlog path to SegmentInfo (#7243)
issue: #7214
Signed-off-by: sunby <bingyi.sun@zilliz.com>
2021-08-24 15:51:51 +08:00
Xiaofan
58b2089692
Import Embedded Etcd Kv Part 1(#7112) (#7174)
Signed-off-by: xiaofan-luan <xiaofan.luan@zilliz.com>
2021-08-24 09:45:51 +08:00
XuanYang-cn
9e71daa759
Fix rocksdb not installed problem (#7200) 2021-08-20 17:46:48 +08:00
Cai Yudong
305fa9c17e
Fix timestamp go back issue for timeticksync (#7123)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-08-18 14:36:10 +08:00
yukun
847586eb95
Add rocksmq retention (#6617)
Signed-off-by: fishpenguin <kun.yu@zilliz.com>
2021-08-16 18:46:10 +08:00
XuanYang-cn
6c5be83ea1
Refactor NewEtcdKV API (#7075)
This PR mainly did the following 3 things:

- Refactor NewEtcdKV API
- Add unittests for `kv/etcd/`, raise the coverage
up to 94%
- Correct some APIs from version to revision

The old NewEtcdKV() API took `clientv3.Client` as
one of the input, making everyone who using this API
had to create a new `clientv3.Client`. So there're a lot
of repeated codes everywhere.

Meanwhile, someplace didn't even check whether the
`clientv3.New()` returned error or not, and the old API
also didn't check whether the clientv3.Client was Nil.
This caused issue#6955.

Ectd's version and revision have nothing alike, they
represent different concepts, but our APIs kind of
mixed them all up. So I correct those APIs' names.

Resolves: #6955

Signed-off-by: yangxuan <xuan.yang@zilliz.com>
2021-08-13 11:04:09 +08:00