congqixia
a0614a3ff8
Use NodeIds instead of NodeID in segment info ( #16912 )
...
The NodeID field is deprecated in current design
Query Node segment detector shall read NodeIds instead of NodeID
Fix #16911
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2022-05-11 17:39:53 +08:00
xige-16
9e6d9fb7d8
Print collectionName when load failed ( #16878 )
...
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2022-05-11 09:47:53 +08:00
Jiquan Long
be688d894a
Forbid multiple indexes on same field ( #16875 )
...
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2022-05-10 21:07:53 +08:00
exia
4ee78eb5ad
proxy support tls ( #16706 )
...
Signed-off-by: xiyichan <2863768433@qq.com>
2022-05-10 20:05:53 +08:00
congqixia
5c98329f7c
Return error when no replica available ( #16886 )
...
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2022-05-10 19:47:53 +08:00
Xiaofan
000c5ff3de
Fix msgstream unsubscription ( #16883 )
...
Signed-off-by: xiaofan-luan <xiaofan.luan@zilliz.com>
2022-05-10 19:43:52 +08:00
congqixia
34833680da
Add lock before query release collection from replica ( #16880 )
...
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2022-05-10 18:09:53 +08:00
Ten Thousand Leaves
216c45fbd6
Add tests where segments load delta logs ( #16825 )
...
issue: #16821
/kind improvements
Signed-off-by: Yuchen Gao <yuchen.gao@zilliz.com>
2022-05-10 17:59:52 +08:00
yah01
2d0f908dba
Fix updating segments' NodeIds correctly after LoadBalance ( #16854 )
...
Signed-off-by: yah01 <yang.cen@zilliz.com>
2022-05-10 15:47:53 +08:00
Letian Jiang
72bbe40254
Make PayloadReader read column data in batch ( #16826 )
...
Signed-off-by: Letian Jiang <letian.jiang@zilliz.com>
2022-05-10 11:37:52 +08:00
Ten Thousand Leaves
5afdf3d49f
Move locks back to meta table methods ( #16848 )
...
/kind improvement
Signed-off-by: Yuchen Gao <yuchen.gao@zilliz.com>
2022-05-09 20:47:52 +08:00
Bingyi Sun
76bfd41952
Refine DataNode logs. ( #16849 )
...
Signed-off-by: sunby <bingyi.sun@zilliz.com>
Co-authored-by: sunby <bingyi.sun@zilliz.com>
2022-05-09 16:25:52 +08:00
Xiaofan
62658dcda6
Fix pulsar unscubsribe fail because of consumer not found ( #16839 )
...
Signed-off-by: xiaofan-luan <xiaofan.luan@zilliz.com>
2022-05-09 12:07:52 +08:00
cai.zhang
b0c9f25352
Sort out the log of IndexCoord ( #16810 )
...
Signed-off-by: Cai.Zhang <cai.zhang@zilliz.com>
2022-05-09 12:05:52 +08:00
xige-16
8fcf349609
Fix create index failed after drop index ( #16836 )
...
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2022-05-09 11:35:53 +08:00
congqixia
c7935d1a86
Add legacySegments for load balance segments rc track ( #16831 )
...
- Add legacySegments in ShardCluster tracking old segment inUse
- Apply node id check for segment online/inUse check
- Add unit test simulating load balance case
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2022-05-07 18:25:52 +08:00
Jiquan Long
ac389f3e93
Limit and translate pattern match operations ( #16818 )
...
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2022-05-07 16:31:52 +08:00
Ten Thousand Leaves
6b2d3c3ec1
Make each dataNode only accept one bulk load task simultaneously ( #16820 )
...
issue: #16674
/kind improvement
Signed-off-by: Yuchen Gao <yuchen.gao@zilliz.com>
2022-05-07 14:05:52 +08:00
Xiaofan
92b6293be4
Fix QueryNode log level ( #16604 )
...
Signed-off-by: xiaofan-luan <xiaofan.luan@zilliz.com>
2022-05-07 10:27:51 +08:00
Enwei Jiao
67ce206cf0
make SegmentMaxLifetime configurable ( #16783 )
...
Signed-off-by: Enwei Jiao <jiaoew2011@gmail.com>
2022-05-06 23:41:51 +08:00
Ten Thousand Leaves
31ddff2056
Some minor fixes and improvements ( #16814 )
...
/kind improvement
Signed-off-by: Yuchen Gao <yuchen.gao@zilliz.com>
2022-05-06 21:35:51 +08:00
bigsheeper
64d2793fe9
Fix wrong result topks when reduce search result ( #16815 )
...
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2022-05-06 21:17:51 +08:00
Ten Thousand Leaves
a8e1c8fa9d
Make duplicate flush recalls success and other logic update ( #16755 )
...
Latest logic:
1) Duplicate flush calls on same segments will not result in errors (same as the original design)
2) `FlushSegments` now still flushes stale segments even if non-stale segments failed to get flushed
issue: #16749
/kind enhancement
Signed-off-by: Yuchen Gao <yuchen.gao@zilliz.com>
2022-05-06 17:49:51 +08:00
Jiquan Long
98ceb162aa
Support antlr as plan parser ( #16696 )
...
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
Co-authored-by: xaxys <tpnnghd@163.com>
Co-authored-by: xaxys <tpnnghd@163.com>
2022-05-06 17:43:51 +08:00
Letian Jiang
b0053b7a45
Add isShardLeader field in search/query request ( #16798 )
...
Signed-off-by: Letian Jiang <letian.jiang@zilliz.com>
2022-05-06 16:55:51 +08:00
xige-16
009b773b6e
Delete set default type param max_len for varchar field ( #16794 )
...
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2022-05-06 15:59:51 +08:00
groot
8736372fd2
Fix bulkload bugs ( #16760 )
...
Signed-off-by: groot <yihua.mo@zilliz.com>
2022-05-06 11:21:50 +08:00
xige-16
7cc995d085
Prohibit creating diff indexes with same index_name on a collection ( #16774 )
...
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2022-05-05 21:33:51 +08:00
Ten Thousand Leaves
1acd256481
Add DataQueryable and DataIndexed states for bulk load tasks ( #16725 )
...
issue: #16607
/kind enhancement
Signed-off-by: Yuchen Gao <yuchen.gao@zilliz.com>
2022-05-05 21:17:50 +08:00
yah01
c82e2453eb
Modify the replicas' shard info after load balance ( #16785 )
...
Signed-off-by: yah01 <yang.cen@zilliz.com>
2022-05-05 21:15:50 +08:00
congqixia
8c004fa981
Fix replicaID is allow zero from watch channel task ( #16788 )
...
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2022-05-05 18:11:51 +08:00
yah01
20936f78da
Fix LoadBalance failed to sync segments to shard leader when the leader is offline ( #16770 )
...
Signed-off-by: yah01 <yang.cen@zilliz.com>
2022-05-05 16:25:50 +08:00
Xiaofan
333b439a6c
Support config grpc log level ( #16618 )
...
Signed-off-by: xiaofan-luan <xiaofan.luan@zilliz.com>
2022-05-05 10:35:50 +08:00
shaoyue
fa97f86cda
Clean up not used id_cache related code ( #16655 )
...
Signed-off-by: shaoyue.chen <shaoyue.chen@zilliz.com>
2022-05-05 09:59:51 +08:00
Xiaofan
337ad53613
Support config small index nprobe and nlist ( #16731 )
...
Signed-off-by: xiaofan-luan <xiaofan.luan@zilliz.com>
2022-05-05 09:49:50 +08:00
cai.zhang
2be46a01c0
Reduce the number of retries and add error log ( #16754 )
...
Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
2022-05-05 09:31:51 +08:00
jaime
c25b337c36
Remove AddTenant from meta table ( #16717 )
...
Signed-off-by: yun.zhang <yun.zhang@zilliz.com>
2022-05-05 09:23:51 +08:00
Eng Zer Jun
5375161777
test: use T.TempDir
to create temporary test directory ( #16758 )
...
This commit replaces `ioutil.TempDir` with `t.TempDir` in tests. The
directory created by `t.TempDir` is automatically removed when the test
and all its subtests complete.
Prior to this commit, temporary directory created using `ioutil.TempDir`
needs to be removed manually by calling `os.RemoveAll`, which is omitted
in some tests. The error handling boilerplate e.g.
defer func() {
if err := os.RemoveAll(dir); err != nil {
t.Fatal(err)
}
}
is also tedious, but `t.TempDir` handles this for us nicely.
Fixes : #16759
Reference: https://pkg.go.dev/testing#T.TempDir
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2022-05-04 11:35:50 +08:00
Cai Yudong
21a1311f66
Merge utils/Utils.h into common/Utils.h ( #16762 )
...
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2022-05-03 12:05:50 +08:00
Cai Yudong
6a62ff18bf
Support easylogging config for segcore and knowhere ( #16751 )
...
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2022-05-03 08:39:49 +08:00
Cai Yudong
d5db4ae463
Merge utils/Types.h with common/Types.h ( #16445 )
...
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2022-05-02 22:21:51 +08:00
bigsheeper
1a29337e6b
Print unflushed segmentIDs instead of whole SegmentInfo ( #16301 )
...
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2022-04-29 19:13:47 +08:00
bigsheeper
f18b3c44ee
Print msgID instead of msg ( #16268 )
...
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2022-04-29 19:11:47 +08:00
cai.zhang
6440c0dd98
Add log for getting IndexNode's mertrics ( #16747 )
...
Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
2022-04-29 19:07:47 +08:00
congqixia
9e09434a4b
Remove not used QueryService in querynode ( #16735 )
...
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2022-04-29 18:15:48 +08:00
Jiquan Long
2fe8677cbf
Enable dimension check in Proxy when create index request received ( #16718 )
...
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2022-04-29 18:01:49 +08:00
jaime
bb9ccbb7e2
Use a singleton kafka producer ( #16739 )
...
Signed-off-by: yun.zhang <yun.zhang@zilliz.com>
2022-04-29 17:29:47 +08:00
Letian Jiang
5b2b917987
Benchmark go/cgo parquet payload readers ( #16736 )
...
Signed-off-by: Letian Jiang <letian.jiang@zilliz.com>
2022-04-29 15:59:47 +08:00
yah01
7dfab0aa13
Add unit test for case of failed to sync segments to shard leader ( #16712 )
...
Signed-off-by: yah01 <yang.cen@zilliz.com>
2022-04-29 15:51:49 +08:00
zhenshan.cao
97757405de
Fix bug: wrong metrics name and forget to register metrics ( #16714 )
...
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2022-04-29 15:35:47 +08:00