From b0939fd20e6645a60919355a5d8060e54b4955c9 Mon Sep 17 00:00:00 2001 From: "cai.zhang" Date: Tue, 10 Sep 2024 14:35:08 +0800 Subject: [PATCH] enhance: Reset task check interval configuration (#36121) Signed-off-by: Cai Zhang --- pkg/util/paramtable/component_param.go | 4 ++-- tests/_helm/values/e2e/distributed | 8 +++++--- tests/_helm/values/e2e/distributed-streaming-service | 8 +++++--- tests/_helm/values/e2e/standalone | 8 +++++--- tests/_helm/values/e2e/standalone-kafka | 8 +++++--- tests/_helm/values/e2e/standalone-one-pod | 8 +++++--- tests/scripts/values/ci/pr-4am.yaml | 6 ++++++ 7 files changed, 33 insertions(+), 17 deletions(-) diff --git a/pkg/util/paramtable/component_param.go b/pkg/util/paramtable/component_param.go index b0de4c42e73ec..1b5d65d7ddabd 100644 --- a/pkg/util/paramtable/component_param.go +++ b/pkg/util/paramtable/component_param.go @@ -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) @@ -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, } diff --git a/tests/_helm/values/e2e/distributed b/tests/_helm/values/e2e/distributed index 241966243874c..9b9a0b706ac64 100644 --- a/tests/_helm/values/e2e/distributed +++ b/tests/_helm/values/e2e/distributed @@ -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 diff --git a/tests/_helm/values/e2e/distributed-streaming-service b/tests/_helm/values/e2e/distributed-streaming-service index b145d8899b32f..32b2655c02bd7 100644 --- a/tests/_helm/values/e2e/distributed-streaming-service +++ b/tests/_helm/values/e2e/distributed-streaming-service @@ -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 diff --git a/tests/_helm/values/e2e/standalone b/tests/_helm/values/e2e/standalone index 0d815a303eb01..bef5796fd9cf3 100644 --- a/tests/_helm/values/e2e/standalone +++ b/tests/_helm/values/e2e/standalone @@ -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 diff --git a/tests/_helm/values/e2e/standalone-kafka b/tests/_helm/values/e2e/standalone-kafka index e959875a2ccf8..84ba97e5b4b1b 100644 --- a/tests/_helm/values/e2e/standalone-kafka +++ b/tests/_helm/values/e2e/standalone-kafka @@ -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 diff --git a/tests/_helm/values/e2e/standalone-one-pod b/tests/_helm/values/e2e/standalone-one-pod index bcf78fd1ddbff..e7505ac2e5341 100644 --- a/tests/_helm/values/e2e/standalone-one-pod +++ b/tests/_helm/values/e2e/standalone-one-pod @@ -32,9 +32,11 @@ image: indexCoordinator: gc: interval: 1 -indexCoord: - scheduler: - interval: 100 +extraConfigFiles: + user.yaml: |+ + indexCoord: + scheduler: + interval: 100 indexNode: disk: enabled: true diff --git a/tests/scripts/values/ci/pr-4am.yaml b/tests/scripts/values/ci/pr-4am.yaml index 902d68d5c94e0..b46b5dfb644fc 100644 --- a/tests/scripts/values/ci/pr-4am.yaml +++ b/tests/scripts/values/ci/pr-4am.yaml @@ -4,6 +4,12 @@ metrics: log: level: debug +extraConfigFiles: + user.yaml: |+ + indexCoord: + scheduler: + interval: 100 + affinity: nodeAffinity: preferredDuringSchedulingIgnoredDuringExecution: