Skip to content

Commit

Permalink
enhance: Reset task check interval configuration (#36121)
Browse files Browse the repository at this point in the history
Signed-off-by: Cai Zhang <cai.zhang@zilliz.com>
  • Loading branch information
xiaocai2333 authored Sep 10, 2024
1 parent 9d0aa5c commit b0939fd
Show file tree
Hide file tree
Showing 7 changed files with 33 additions and 17 deletions.
4 changes: 2 additions & 2 deletions pkg/util/paramtable/component_param.go
Original file line number Diff line number Diff line change
Expand Up @@ -3871,7 +3871,7 @@ During compaction, the size of segment # of rows is able to exceed segment max #
p.IndexTaskSchedulerInterval = ParamItem{
Key: "indexCoord.scheduler.interval",
Version: "2.0.0",
DefaultValue: "100",
DefaultValue: "1000",
}
p.IndexTaskSchedulerInterval.Init(base.mgr)

Expand Down Expand Up @@ -4065,7 +4065,7 @@ During compaction, the size of segment # of rows is able to exceed segment max #
Key: "dataCoord.taskCheckInterval",
Version: "2.5.0",
Doc: "task check interval seconds",
DefaultValue: "1",
DefaultValue: "60",
PanicIfEmpty: false,
Export: false,
}
Expand Down
8 changes: 5 additions & 3 deletions tests/_helm/values/e2e/distributed
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,11 @@ kafka:
memory: 512Mi
log:
level: debug
indexCoord:
scheduler:
interval: 100
extraConfigFiles:
user.yaml: |+
indexCoord:
scheduler:
interval: 100
metrics:
serviceMonitor:
enabled: true
Expand Down
8 changes: 5 additions & 3 deletions tests/_helm/values/e2e/distributed-streaming-service
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,11 @@ kafka:
memory: 512Mi
log:
level: debug
indexCoord:
scheduler:
interval: 100
extraConfigFiles:
user.yaml: |+
indexCoord:
scheduler:
interval: 100
metrics:
serviceMonitor:
enabled: true
Expand Down
8 changes: 5 additions & 3 deletions tests/_helm/values/e2e/standalone
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,11 @@ kafka:
memory: 512Mi
log:
level: debug
indexCoord:
scheduler:
interval: 100
extraConfigFiles:
user.yaml: |+
indexCoord:
scheduler:
interval: 100
metrics:
serviceMonitor:
enabled: true
Expand Down
8 changes: 5 additions & 3 deletions tests/_helm/values/e2e/standalone-kafka
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,11 @@ kafka:
memory: 512Mi
log:
level: debug
indexCoord:
scheduler:
interval: 100
extraConfigFiles:
user.yaml: |+
indexCoord:
scheduler:
interval: 100
metrics:
serviceMonitor:
enabled: true
Expand Down
8 changes: 5 additions & 3 deletions tests/_helm/values/e2e/standalone-one-pod
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,11 @@ image:
indexCoordinator:
gc:
interval: 1
indexCoord:
scheduler:
interval: 100
extraConfigFiles:
user.yaml: |+
indexCoord:
scheduler:
interval: 100
indexNode:
disk:
enabled: true
Expand Down
6 changes: 6 additions & 0 deletions tests/scripts/values/ci/pr-4am.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ metrics:
log:
level: debug

extraConfigFiles:
user.yaml: |+
indexCoord:
scheduler:
interval: 100
affinity:
nodeAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
Expand Down

0 comments on commit b0939fd

Please sign in to comment.