mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-28 14:35:27 +08:00
test: optimize ci test about compaction and flush (#46097)
Signed-off-by: nico <cheng.yuan@zilliz.com>
This commit is contained in:
parent
11c027ad81
commit
51350f4ef8
@ -87,6 +87,10 @@ extraConfigFiles:
|
|||||||
queryNode:
|
queryNode:
|
||||||
segcore:
|
segcore:
|
||||||
exprEvalBatchSize: 512
|
exprEvalBatchSize: 512
|
||||||
|
quotaAndLimits:
|
||||||
|
flushRate:
|
||||||
|
collection:
|
||||||
|
max: 4
|
||||||
metrics:
|
metrics:
|
||||||
serviceMonitor:
|
serviceMonitor:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
|||||||
@ -44,6 +44,10 @@ extraConfigFiles:
|
|||||||
queryNode:
|
queryNode:
|
||||||
segcore:
|
segcore:
|
||||||
exprEvalBatchSize: 512
|
exprEvalBatchSize: 512
|
||||||
|
quotaAndLimits:
|
||||||
|
flushRate:
|
||||||
|
collection:
|
||||||
|
max: 4
|
||||||
metrics:
|
metrics:
|
||||||
serviceMonitor:
|
serviceMonitor:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
|||||||
@ -51,6 +51,10 @@ extraConfigFiles:
|
|||||||
scalarField: true
|
scalarField: true
|
||||||
scalarIndex: true
|
scalarIndex: true
|
||||||
growingMmapEnabled: true
|
growingMmapEnabled: true
|
||||||
|
quotaAndLimits:
|
||||||
|
flushRate:
|
||||||
|
collection:
|
||||||
|
max: 4
|
||||||
metrics:
|
metrics:
|
||||||
serviceMonitor:
|
serviceMonitor:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
|||||||
@ -36,6 +36,10 @@ extraConfigFiles:
|
|||||||
queryNode:
|
queryNode:
|
||||||
segcore:
|
segcore:
|
||||||
exprEvalBatchSize: 512
|
exprEvalBatchSize: 512
|
||||||
|
quotaAndLimits:
|
||||||
|
flushRate:
|
||||||
|
collection:
|
||||||
|
max: 4
|
||||||
image:
|
image:
|
||||||
all:
|
all:
|
||||||
pullPolicy: Always
|
pullPolicy: Always
|
||||||
|
|||||||
@ -87,6 +87,10 @@ extraConfigFiles:
|
|||||||
queryNode:
|
queryNode:
|
||||||
segcore:
|
segcore:
|
||||||
exprEvalBatchSize: 512
|
exprEvalBatchSize: 512
|
||||||
|
quotaAndLimits:
|
||||||
|
flushRate:
|
||||||
|
collection:
|
||||||
|
max: 4
|
||||||
metrics:
|
metrics:
|
||||||
serviceMonitor:
|
serviceMonitor:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
|||||||
@ -44,6 +44,10 @@ extraConfigFiles:
|
|||||||
queryNode:
|
queryNode:
|
||||||
segcore:
|
segcore:
|
||||||
exprEvalBatchSize: 512
|
exprEvalBatchSize: 512
|
||||||
|
quotaAndLimits:
|
||||||
|
flushRate:
|
||||||
|
collection:
|
||||||
|
max: 4
|
||||||
metrics:
|
metrics:
|
||||||
serviceMonitor:
|
serviceMonitor:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
|||||||
@ -51,6 +51,10 @@ extraConfigFiles:
|
|||||||
scalarField: true
|
scalarField: true
|
||||||
scalarIndex: true
|
scalarIndex: true
|
||||||
growingMmapEnabled: true
|
growingMmapEnabled: true
|
||||||
|
quotaAndLimits:
|
||||||
|
flushRate:
|
||||||
|
collection:
|
||||||
|
max: 4
|
||||||
metrics:
|
metrics:
|
||||||
serviceMonitor:
|
serviceMonitor:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
|||||||
@ -36,6 +36,10 @@ extraConfigFiles:
|
|||||||
queryNode:
|
queryNode:
|
||||||
segcore:
|
segcore:
|
||||||
exprEvalBatchSize: 512
|
exprEvalBatchSize: 512
|
||||||
|
quotaAndLimits:
|
||||||
|
flushRate:
|
||||||
|
collection:
|
||||||
|
max: 4
|
||||||
image:
|
image:
|
||||||
all:
|
all:
|
||||||
pullPolicy: Always
|
pullPolicy: Always
|
||||||
|
|||||||
@ -384,7 +384,7 @@ class TestCompactionParams(TestcaseBase):
|
|||||||
|
|
||||||
collection_w.create_index(ct.default_float_vec_field_name, ct.default_index)
|
collection_w.create_index(ct.default_float_vec_field_name, ct.default_index)
|
||||||
collection_w.compact()
|
collection_w.compact()
|
||||||
sleep(ct.max_compaction_interval + 1)
|
sleep(10) # modified by nico, debug compaction time from 60s to 10s
|
||||||
|
|
||||||
# verify queryNode load the compacted segments
|
# verify queryNode load the compacted segments
|
||||||
collection_w.load()
|
collection_w.load()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user