Commit Graph

17964 Commits

Author SHA1 Message Date
yihao.dai
dd2cb1d44a
Flush by flush channels (#26859)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2023-09-12 21:07:19 +08:00
cqy123456
0ff4ddc76c
remove VectorMemNMIndex (#27000)
Signed-off-by: cqy123456 <qianya.cheng@zilliz.com>
2023-09-12 17:13:18 +08:00
zhuwenxing
a37b422acd
[skip e2e]Set resource for worker node in chaos test (#27025)
Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>
2023-09-12 16:57:17 +08:00
yah01
00c65fa0d7
Refine QueryNode errors (#27013)
Signed-off-by: yah01 <yah2er0ne@outlook.com>
2023-09-12 16:07:18 +08:00
yiwangdr
f85af0732c
remove MultiRemoveWithPrefix (#26924)
Signed-off-by: yiwangdr <yiwangdr@gmail.com>
2023-09-12 15:07:17 +08:00
yah01
45d9fb5929
Fix wrong error codes & names (#26904)
Signed-off-by: yah01 <yah2er0ne@outlook.com>
2023-09-12 14:41:18 +08:00
yah01
a6c6d7301c
Enable ASAN for ut (#27016)
Signed-off-by: yah01 <yah2er0ne@outlook.com>
2023-09-12 14:01:17 +08:00
Jiquan Long
802a6a86c0
Fix printing too many warnings (#27015)
Signed-off-by: longjiquan <jiquan.long@zilliz.com>
2023-09-12 13:39:17 +08:00
zhuwenxing
3c74acb55c
[skip e2e]Set resource for indexnode in chaos test (#27011)
Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>
2023-09-12 10:59:18 +08:00
aoiasd
e107d0794c
support complex delete expression (#25752)
Signed-off-by: aoiasd <zhicheng.yue@zilliz.com>
2023-09-12 10:19:17 +08:00
sre-ci-robot
dde3cd2f93
Update knowhere commit (#26998)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-09-12 09:49:18 +08:00
congqixia
ac45af585b
Make segment loaded successful put in manager even ctx done (#26992)
Leave segment loaded in manager even wait other segment failed
See also #26908
Fix error case in distributed scenario

Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2023-09-11 21:33:18 +08:00
yah01
3203ce1654
Reduce copy while retrieving primary keys (#26616)
Signed-off-by: yah01 <yang.cen@zilliz.com>
2023-09-11 21:31:18 +08:00
Enwei Jiao
c3f15c6b95
Refactor duplicate error class into one place (#26985)
Signed-off-by: Enwei Jiao <enwei.jiao@zilliz.com>
2023-09-11 20:43:17 +08:00
congqixia
1aa3a1e067
Refine NewNmqClient logic with nats.ConsumeDialer option (#26987)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2023-09-11 20:17:17 +08:00
congqixia
9e0977622d
Remove config content output before credential mask implemented (#26993)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2023-09-11 19:33:17 +08:00
congqixia
adfb5298c6
Refine TestSessionProcessActiveStandBy unit test logic (#26980)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2023-09-11 18:13:17 +08:00
zhuwenxing
754500f1c8
[skip e2e]Increase the chaos duration for chaos test (#26990)
Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>
2023-09-11 17:57:18 +08:00
zhuwenxing
567fb23126
[test]Update health_checkers assertion for standby test (#26986)
Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>
2023-09-11 17:55:23 +08:00
congqixia
c45c32fad4
Set task reason for collection released (#26962)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2023-09-10 15:15:17 +08:00
MrPresent-Han
2101f2d289
fix unstable checker id due to go map iteration(#26943) (#26944)
Signed-off-by: MrPresent-Han <chun.han@zilliz.com>
2023-09-10 10:11:16 +08:00
sre-ci-robot
49c8487986 Update all contributors
Signed-off-by: sre-ci-robot <sre-ci-robot@zilliz.com>
2023-09-10 00:01:20 +00:00
congqixia
2a5d574a0d
Fix querynodev2 concurrent load logic (#26959)
Fix logic error from #26926
function `waitSegmentLoadDone` shall return error when context is done

Make delegator control concurrency for each same segment
Related to #26908

Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2023-09-10 07:41:18 +08:00
Futao Wei
ad1cc00a18
Fix typo in comment (#26951)
Signed-off-by: unfode <forrest.futao.wei@gmail.com>
2023-09-09 20:13:16 +08:00
sre-ci-robot
e5dab53eb2 Update all contributors
Signed-off-by: sre-ci-robot <sre-ci-robot@zilliz.com>
2023-09-09 12:00:47 +00:00
congqixia
c6116d1819
Remove segment to LocalSegment type assertion (#26931)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2023-09-09 10:35:16 +08:00
congqixia
758aad705d
Fix checker using default interval after manual check (#26953)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2023-09-09 08:29:16 +08:00
congqixia
44f308fff5
Handle nil status in merr.OK (#26940)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2023-09-08 18:43:16 +08:00
Jiquan Long
9dae896395
Fix indexnode log (#26927)
Signed-off-by: longjiquan <jiquan.long@zilliz.com>
2023-09-08 16:57:16 +08:00
congqixia
c8f9f22c4a
Fix segment loader return false success (#26926)
`waitSegmentLoadDone` did not check waitCh result is success or failure
after load return without error, delegator will assume all segments are loaded

This PR changes waitCh to loadResult with `sync.Cond` with `atomic.Int32` to represent status

Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2023-09-08 16:41:16 +08:00
yah01
22bb9c199b
Forbid returning merr directly (#26918)
Signed-off-by: yah01 <yah2er0ne@outlook.com>
2023-09-08 10:31:15 +08:00
zhuwenxing
0f4475e5e3
[test]Refine health checker in test (#26920)
Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>
2023-09-08 10:09:16 +08:00
Xu Tong
9166011c4a
Add float16 vector (#25852)
Signed-off-by: Writer-X <1256866856@qq.com>
2023-09-08 10:03:16 +08:00
sre-ci-robot
eb3ea3a1df
Update Builder image changes (#26913)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-09-08 09:53:16 +08:00
XuanYang-cn
7f1ae35e72
Add timeout in dispatcher, AsConsumer and Seek (#26686)
See also: #25309

Signed-off-by: yangxuan <xuan.yang@zilliz.com>
2023-09-08 09:51:17 +08:00
SimFG
0901b76732
Avoid the panic when the status of rpc response is nil (#26910)
Signed-off-by: SimFG <bang.fu@zilliz.com>
2023-09-07 19:23:15 +08:00
zhuwenxing
3fd315f2b5
[skip e2e]Refine the script of getting image tag (#26919)
Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>
2023-09-07 19:05:15 +08:00
zhuwenxing
e2528030bb
[skip e2e]Add python script to get image tag name (#26911)
Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>
2023-09-07 16:39:15 +08:00
Enwei Jiao
2a755baaa5
Fix amazonlinux cache not work (#26883)
Signed-off-by: Enwei Jiao <enwei.jiao@zilliz.com>
2023-09-07 15:43:15 +08:00
congqixia
8dfa832fa0
Use same mergify rule for branch 2.3.0 (#26896)
Since branch 2.3.0 share same action setup,
rules applied to master shall apply to branch 2.3.0 as well
For now, only branch 2.2.0 uses diferent set of rules

Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2023-09-07 12:03:15 +08:00
congqixia
af5c01082b
Refine delegator lifetime control (#26881)
- Add SafeChan interface in lifetime package
- Embed SafeChan into  interface
- Replace private lifetime struct in delegator package with
- Refine delegator on-going task lifetime control and wait all accepted task done
- Fix potential goroutine leakage from  if delegator closed concurrently

/kind improvement

Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2023-09-07 10:11:15 +08:00
sre-ci-robot
69bac68f8c
Update Pytest image changes (#26796)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-09-07 09:47:16 +08:00
nico
5e4ae757f5
update test cases (#26872)
Signed-off-by: nico <cheng.yuan@zilliz.com>
2023-09-07 09:45:15 +08:00
sre-ci-robot
56a6559fe7
Update knowhere commit (#26888)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-09-07 09:19:16 +08:00
yiwangdr
337edc321b
tikv integration (#26246)
Signed-off-by: yiwangdr <yiwangdr@gmail.com>
2023-09-07 07:25:14 +08:00
cai.zhang
8b5b137207
Should set index task retry not failed when task canceled (#26878)
Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
2023-09-06 19:01:14 +08:00
congqixia
0844e19505
Fix mergify rules for unit test file changed under pkg folder (#26882)
See #26865
 for only unit test file changed
removed due to exclude rule only apply to _test.go under internal/

Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2023-09-06 18:33:14 +08:00
yah01
4a2377e669
Fix retrieving may return more result than limit (#26670)
Signed-off-by: yah01 <yah2er0ne@outlook.com>
2023-09-06 17:47:15 +08:00
SimFG
28681276e2
Improve the retry of the rpc client (#26795)
Signed-off-by: SimFG <bang.fu@zilliz.com>
2023-09-06 17:43:14 +08:00
Jiquan Long
61c7b0990d
Workaround fix ChannelManager holding mutex too long (#26870)
Signed-off-by: longjiquan <jiquan.long@zilliz.com>
2023-09-06 14:29:40 +08:00