Commit Graph

544 Commits

Author SHA1 Message Date
cai.zhang
aff5cd9598
Supprot to read the configuration of minio from environment variables (#10534)
Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
2021-10-26 15:10:03 +08:00
yukun
5f5949cf2f
[skip ci]Remove unused code (#10597)
Signed-off-by: fishpenguin <kun.yu@zilliz.com>
2021-10-25 20:30:48 +08:00
bigsheeper
5c58924420
Add cgroups to get container memory and check index memory in segment loader (#10363)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-10-22 20:49:10 +08:00
congqixia
76b64a9d01
Remove not needed ctx from rocksmq client (#10416)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2021-10-22 17:25:12 +08:00
Xiangyu Wang
d9abce6764
Fix unittest failed in schema_test.go (#10401)
Signed-off-by: Xiangyu Wang <xiangyu.wang@zilliz.com>
2021-10-21 22:47:11 +08:00
yukun
319b3282d9
[skip ci]Add comments for rocksmq consumer_impl (#10389)
Signed-off-by: fishpenguin <kun.yu@zilliz.com>
2021-10-21 22:45:22 +08:00
yukun
4a8619619b
[skip ci]Add comments for rocksmq (#10388)
Signed-off-by: fishpenguin <kun.yu@zilliz.com>
2021-10-21 22:43:21 +08:00
edward.zeng
39b204374b
[skip ci] Fix rocksmq retention typo (#10376)
Signed-off-by: Edward Zeng <jie.zeng@zilliz.com>
2021-10-21 19:56:10 +08:00
congqixia
c2c2036154
Stop retention gracefully (#10367)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2021-10-21 19:50:26 +08:00
Xiangyu Wang
ff71f53877
[skip ci]Improve error message in schema (#10354)
Signed-off-by: Xiangyu Wang <xiangyu.wang@zilliz.com>
2021-10-21 19:44:19 +08:00
Xiangyu Wang
c3e8903dc2
[skip ci]Improve error message in schema (#10353)
Signed-off-by: Xiangyu Wang <xiangyu.wang@zilliz.com>
2021-10-21 19:42:26 +08:00
Xiangyu Wang
bbd558f509
[skip ci]Improve error messages in convension (#10352)
Signed-off-by: Xiangyu Wang <xiangyu.wang@zilliz.com>
2021-10-21 19:40:35 +08:00
BIKI DAS
0120068d92
returning nill explicitly (#10349)
Signed-off-by: Biki-das <bikid475@gmail.com>
2021-10-21 13:46:35 +08:00
godchen
cfe2546b0d
Fix retry error missed (#10318)
Signed-off-by: godchen <qingxiang.chen@zilliz.com>
2021-10-21 12:20:35 +08:00
congqixia
0c6d5098a0
Fix fieldID typo in typeutil (#10335)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2021-10-21 11:06:43 +08:00
yukun
f15dc150f1
[skip ci]Add comments for retention (#10316)
Signed-off-by: fishpenguin <kun.yu@zilliz.com>
2021-10-21 10:59:01 +08:00
bigsheeper
c18fa9b785
Watch changeInfo in query node (#10045)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-10-20 17:54:43 +08:00
Xiangyu Wang
cd6a4a6704
[skip ci]Improve error message in mqclient (#10241)
Signed-off-by: Xiangyu Wang <xiangyu.wang@zilliz.com>
2021-10-20 10:56:35 +08:00
Xiangyu Wang
a2b8add4e2
[skip ci]Improve error message in mqclient (#10240)
Signed-off-by: Xiangyu Wang <xiangyu.wang@zilliz.com>
2021-10-20 10:54:43 +08:00
Xiangyu Wang
1493aa1f65
[skip ci]Improve comments in mqclient (#10242)
Signed-off-by: Xiangyu Wang <xiangyu.wang@zilliz.com>
2021-10-20 10:52:35 +08:00
yukun
81190c573a
[skip ci]Add comments for UpdateAckedInfo (#10213)
Signed-off-by: fishpenguin <kun.yu@zilliz.com>
2021-10-19 20:34:50 +08:00
yukun
7c7a66df6d
[skip ci]Add comments for rocksmq Notify (#10212)
Signed-off-by: fishpenguin <kun.yu@zilliz.com>
2021-10-19 20:32:48 +08:00
Xiangyu Wang
736a2cc358
[skip ci]Improve error message in rocksmq (#10196)
Signed-off-by: Xiangyu Wang <xiangyu.wang@zilliz.com>
2021-10-19 17:54:37 +08:00
Xiangyu Wang
88a2b2b07c
[skip ci]Improve error message in rocksmq (#10195)
Signed-off-by: Xiangyu Wang <xiangyu.wang@zilliz.com>
2021-10-19 17:52:42 +08:00
Xiangyu Wang
afa6eeecd7
[skip ci]Improve error message in rocksmq (#10194)
Signed-off-by: Xiangyu Wang <xiangyu.wang@zilliz.com>
2021-10-19 17:50:49 +08:00
yukun
401753dea0
[skip ci]Add comments for rocksmq SeekToLatest (#10120)
Signed-off-by: fishpenguin <kun.yu@zilliz.com>
2021-10-18 19:52:49 +08:00
yukun
ec667846f4
[skip ci]Add comments for rocksmq Seek (#10119)
Signed-off-by: fishpenguin <kun.yu@zilliz.com>
2021-10-18 19:50:59 +08:00
yukun
8dccd0ca70
[skip ci]Add comments for rocksmq Consume (#10118)
Signed-off-by: fishpenguin <kun.yu@zilliz.com>
2021-10-18 19:48:40 +08:00
yukun
65a1ae0210
[skip ci]Add comments for rocksmq produce (#10030)
Signed-off-by: fishpenguin <kun.yu@zilliz.com>
2021-10-16 22:05:04 +08:00
yukun
e8d5a1ee5f
[skip ci]Add comments for DestroyConsumerGroup (#10029)
Signed-off-by: fishpenguin <kun.yu@zilliz.com>
2021-10-16 22:03:09 +08:00
yukun
241acadce9
Remove error return when seek invalid messages in seekToLatest (#9967)
Signed-off-by: fishpenguin <kun.yu@zilliz.com>
2021-10-16 21:49:40 +08:00
dragondriver
977e98d21b
[skip ci] Fix golint warning of paramtable (#9991)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-10-15 20:38:58 +08:00
Xiaofan
d845153de4
Add Buffer for consumer channel (#9578)
Signed-off-by: xiaofan-luan <xiaofan.luan@zilliz.com>
2021-10-15 20:31:16 +08:00
Xiangyu Wang
f8c52dd5bb
Fix golint warning in indexparamcheck (#9947)
Signed-off-by: Xiangyu Wang <xiangyu.wang@zilliz.com>
2021-10-15 20:23:16 +08:00
Xiangyu Wang
7ab109e57d
Fix golint warning in indexparamcheck (#9946)
Signed-off-by: Xiangyu Wang <xiangyu.wang@zilliz.com>
2021-10-15 16:36:37 +08:00
yukun
2cfdf22897
Change retention ticker time to 10 minutes (#9933)
Signed-off-by: fishpenguin <kun.yu@zilliz.com>
2021-10-15 15:44:35 +08:00
yukun
83f1b75293
[skip ci]Add comments for RegisterConsumer (#9912)
Signed-off-by: fishpenguin <kun.yu@zilliz.com>
2021-10-14 20:02:37 +08:00
yukun
a0d9991d6f
[skip ci]Add comments for CreateConsumerGroup (#9911)
Signed-off-by: fishpenguin <kun.yu@zilliz.com>
2021-10-14 20:00:35 +08:00
congqixia
6b8ff60de3
Close event channel when watch event found error (#9819)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2021-10-14 19:20:35 +08:00
congqixia
ec6e8e4127
Hide liveChn into sessionutil and fix liveness init order (#9860)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2021-10-14 16:40:35 +08:00
zhenshan.cao
bbafd05911
[skip ci]Fix golint error in paramtable (#9851)
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2021-10-14 14:04:34 +08:00
Xiangyu Wang
478daeaeea
Fix golint warnings in indexparamcheck (#9863)
Signed-off-by: Xiangyu Wang <xiangyu.wang@zilliz.com>
2021-10-14 12:02:40 +08:00
Xiangyu Wang
274dd03a10
Fix golint warnings in indexparamcheck (#9861)
Signed-off-by: Xiangyu Wang <xiangyu.wang@zilliz.com>
2021-10-14 11:52:40 +08:00
Xiangyu Wang
41bd393fe6
Fix golint warnings in indexparamcheck (#9862)
Signed-off-by: Xiangyu Wang <xiangyu.wang@zilliz.com>
2021-10-14 11:30:39 +08:00
dragondriver
72d3d470ba
Use the server id as identifier in system topology graph (#9825)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-10-14 11:12:38 +08:00
yukun
d2e2e0a63c
[skip ci]Add comments for ExistConsumerGroup (#9832)
Signed-off-by: fishpenguin <kun.yu@zilliz.com>
2021-10-13 20:44:33 +08:00
yukun
67d38d6cf1
Fix retention datarace (#9828)
Signed-off-by: fishpenguin <kun.yu@zilliz.com>
2021-10-13 20:38:33 +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
dragondriver
395a122678
[skip ci] Fix golint warning of metric_type.go (#9829)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-10-13 20:14:33 +08:00
godchen
31c3942ca7
[skip ci]Fix mqclient producer fmt (#9774)
Signed-off-by: godchen <qingxiang.chen@zilliz.com>
2021-10-13 12:44:33 +08:00
jingkl
66e8583f86
[skip ci] Add producer.go description (#8748)
Signed-off-by: jingkl <jingjing.jia@zilliz.com>
2021-10-13 11:14:39 +08:00
yukun
e3ce1696e7
[skip ci]Add comments for rocksmq DestroyTopic (#9735)
Signed-off-by: fishpenguin <kun.yu@zilliz.com>
2021-10-12 19:37:20 +08:00
yukun
55c615b4e2
[skip ci]Add comments for rocksmq CreateTopic (#9733)
Signed-off-by: fishpenguin <kun.yu@zilliz.com>
2021-10-12 19:33:24 +08:00
yukun
cdeb64d90a
Delete messages before delete meta data in rocksmq retention (#9694)
Signed-off-by: fishpenguin <kun.yu@zilliz.com>
2021-10-12 19:09:22 +08:00
yukun
b6b4b784cc
Delete end key after rocksdb DeleteRange (#9572)
Signed-off-by: fishpenguin <kun.yu@zilliz.com>
2021-10-10 21:50:33 +08:00
yukun
12b985c32e
Add resource free in err process (#9564)
Signed-off-by: fishpenguin <kun.yu@zilliz.com>
2021-10-09 19:39:16 +08:00
dragondriver
6eb2fe6993
[skip ci] Fix go lint warning of hardware_info.go (#9589)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-10-09 19:35:02 +08:00
yukun
b6ec1783e4
Remove acked infos in memory for retention (#8735)
Signed-off-by: fishpenguin <kun.yu@zilliz.com>
2021-10-09 17:24:55 +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
969c78e79d
[skip ci]Add comments for rocksmq close (#9519)
Signed-off-by: fishpenguin <kun.yu@zilliz.com>
2021-10-09 00:11:36 +08:00
yukun
97a6bde82a
[skip ci]Add comments for StringToMsgID (#9518)
Signed-off-by: fishpenguin <kun.yu@zilliz.com>
2021-10-09 00:07:52 +08:00
yukun
1ec153ad9b
[skip ci]Add comments for CreateProducer (#9517)
Signed-off-by: fishpenguin <kun.yu@zilliz.com>
2021-10-09 00:03:51 +08:00
godchen
f4e0736e01
Handle util rocksmq returned error (#9169)
Signed-off-by: godchen <qingxiang.chen@zilliz.com>
2021-10-08 19:07:21 +08:00
Xiaofan
fdbfa62b27
Add log for rocksmq (#8889)
Signed-off-by: xiaofan-luan <xiaofan.luan@zilliz.com>
2021-10-07 22:18:56 +08:00
dragondriver
057834fa57
[skip ci] Add desc comments for BaseConfAdapter (#9414)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-10-07 22:10:42 +08:00
yukun
f89f2ded88
[skip ci]Add comments for rmq client subscribe (#9422)
Signed-off-by: yukun <kun.yu@zilliz.com>
2021-10-07 21:21:05 +08:00
yukun
3dcfff3a70
[skip ci]Add comments for rmq client method (#9423)
Signed-off-by: yukun <kun.yu@zilliz.com>
2021-10-07 21:18:52 +08:00
yukun
a4cffb7f1c
[skip ci]Add comments for rmqMessage (#9420)
Signed-off-by: yukun <kun.yu@zilliz.com>
2021-10-07 21:10:55 +08:00
yukun
24bf834fe8
[skip ci]Add comments for rmqID (#9419)
Signed-off-by: yukun <kun.yu@zilliz.com>
2021-10-07 21:09:02 +08:00
dragondriver
b9e956f742
[skip ci] Add desc comments for ConfAdapterImpl (#9413)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-10-07 20:26:59 +08:00
godchen
9454f3529d
[skip ci]Fix conf adapter go fmt (#9376)
Signed-off-by: godchen0212 <qingxiang.chen@zilliz.com>
2021-10-07 10:30:18 +08:00
godchen
0ebc9e2064
[skip ci]Fix trace comment type (#9362)
Signed-off-by: godchen0212 <qingxiang.chen@zilliz.com>
2021-10-06 23:28:06 +08:00
godchen
b0b3a5c137
[skip ci]Fix calc distance comment lint error (#9360)
Signed-off-by: godchen0212 <qingxiang.chen@zilliz.com>
2021-10-06 23:04:00 +08:00
dragondriver
1fb02f87f0
[skip ci] Add desc comments for CheckTrain (#9341)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-10-06 19:34:05 +08:00
dragondriver
434c587c4e
[skip ci] Add desc comments for GetDiskCount (#9340)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-10-06 19:32:16 +08:00
dragondriver
5f309f64ee
[skip ci] Add desc comments for GetSystemInfoMetrics (#9339)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-10-06 19:30:37 +08:00
congqixia
1d5d0903e8
[skip ci] Fix golint for sessionutil (#9335)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2021-10-06 19:21:17 +08:00
Xiangyu Wang
4722f5991b
[skip ci]Fix golint warnings in typeutil (#9302)
Signed-off-by: Xiangyu Wang <xiangyu.wang@zilliz.com>
2021-10-06 07:10:36 +08:00
godchen
a3c2fb3ffb
Remove error in trace log err return (#9058)
Signed-off-by: godchen <qingxiang.chen@zilliz.com>
2021-10-06 07:04:02 +08:00
zhenshan.cao
3705232178
[skip ci] Fix golint error in typeutil (#9285)
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2021-10-05 21:16:05 +08:00
dragondriver
1502239dae
[skip ci] Add desc comments for SystemTopologyNode (#9276)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-10-05 20:44:42 +08:00
dragondriver
1758227cfc
[skip ci] Add desc comments for InvalidateSystemInfoMetrics (#9275)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-10-05 20:43:01 +08:00
dragondriver
4bac5b1f4d
[skip ci] Add desc comments for GetMemoryCount (#9274)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-10-05 20:41:05 +08:00
Xiangyu Wang
b6617a295a
[skip ci]Fix golint warnings in mqclient (#9239)
Signed-off-by: Xiangyu Wang <xiangyu.wang@zilliz.com>
2021-10-04 23:48:10 +08:00
Xiangyu Wang
f3c538a86a
[skip ci]Fix golint warnings in errors (#9237)
Signed-off-by: Xiangyu Wang <xiangyu.wang@zilliz.com>
2021-10-04 23:44:26 +08:00
Xiangyu Wang
0c899deb50
[skip ci]Fix golint warning in healthz (#9236)
Signed-off-by: Xiangyu Wang <xiangyu.wang@zilliz.com>
2021-10-04 23:42:18 +08:00
Xiangyu Wang
7e611e8799
[skip ci]Fix golint warnings in funcutil (#9235)
Signed-off-by: Xiangyu Wang <xiangyu.wang@zilliz.com>
2021-10-04 23:40:01 +08:00
Xiangyu Wang
a5daaf0755
[skip ci]Fix golint warnings in flowgraph (#9234)
Signed-off-by: Xiangyu Wang <xiangyu.wang@zilliz.com>
2021-10-04 22:38:02 +08:00
dragondriver
e70722968c
[skip ci] Add desc comments for GetCPUCoreCount (#9219)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-10-04 19:30:02 +08:00
dragondriver
f68425cbf6
[skip ci] Add desc comments for GenRandomStr (#9218)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-10-04 19:28:12 +08:00
dragondriver
fb22186c72
[skip ci] Add desc comments for SliceContain (#9217)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-10-04 19:26:18 +08:00
godchen
3c98adfe41
Handle util funcutil returned error (#9170)
Signed-off-by: godchen <qingxiang.chen@zilliz.com>
2021-10-04 17:18:56 +08:00
godchen
fd6eb5d187
[skip ci]Add util healthz comment (#9171)
Signed-off-by: godchen <qingxiang.chen@zilliz.com>
2021-10-04 08:14:31 +08:00
zhenshan.cao
057317f8b2
[skip ci] Fix golint error in pulsar_client.go (#9155)
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2021-10-03 20:54:13 +08:00
zhenshan.cao
906a9bd37c
[skip ci] fix golint error in metrics_info.go (#9127)
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2021-10-03 19:49:55 +08:00
dragondriver
7d87f0368f
[skip ci] Add desc comments for ProcessFuncParallel (#9130)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-10-03 10:37:59 +08:00
dragondriver
9b095843e4
[skip ci] Add desc comments for GetUsedMemoryCount (#9129)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-10-03 10:36:08 +08:00
dragondriver
d13ae5f336
[skip ci] Add desc comments for NewMetricsCacheManager (#9128)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-10-03 10:34:18 +08:00
Xiangyu Wang
71b7e768e7
[skip ci]Fix golint warnings in timerecord (#9104)
Signed-off-by: Xiangyu Wang <xiangyu.wang@zilliz.com>
2021-10-03 00:53:55 +08:00
Xiangyu Wang
f93981ca71
[skip ci]Fix golint warnings in trace (#9100)
Signed-off-by: Xiangyu Wang <xiangyu.wang@zilliz.com>
2021-10-03 00:50:08 +08:00