diff --git a/configs/milvus.yaml b/configs/milvus.yaml index 5bcbc57537fff25624e96b0a2ee248495fab6c05..ae397dcb7c1eef1d408a429b025339a8045eed0f 100644 --- a/configs/milvus.yaml +++ b/configs/milvus.yaml @@ -451,7 +451,7 @@ quotaAndLimits: # specific conditions, such as memory of nodes to water marker), `true` means always reject all dml requests. forceDeny: false ttProtection: - enabled: true + enabled: false # maxTimeTickDelay indicates the backpressure for DML Operations. # DML rates would be reduced according to the ratio of time tick delay to maxTimeTickDelay, # if time tick delay is greater than maxTimeTickDelay, all DML requests would be rejected. diff --git a/internal/util/paramtable/quota_param_test.go b/internal/util/paramtable/quota_param_test.go index 675fe52a0952bdbc0468040ed1e4d6bffd95adf4..391223c5e0af27229ccd0e08be4e3a58801ae886 100644 --- a/internal/util/paramtable/quota_param_test.go +++ b/internal/util/paramtable/quota_param_test.go @@ -19,7 +19,6 @@ package paramtable import ( "math" "testing" - "time" "github.com/stretchr/testify/assert" ) @@ -72,8 +71,8 @@ func TestQuotaParam(t *testing.T) { t.Run("test limit writing", func(t *testing.T) { assert.False(t, qc.ForceDenyWriting) - assert.Equal(t, true, qc.TtProtectionEnabled) - assert.Equal(t, 300*time.Second, qc.MaxTimeTickDelay) + assert.Equal(t, false, qc.TtProtectionEnabled) + assert.Equal(t, math.MaxInt64, int(qc.MaxTimeTickDelay)) assert.Equal(t, defaultLowWaterLevel, qc.DataNodeMemoryLowWaterLevel) assert.Equal(t, defaultHighWaterLevel, qc.DataNodeMemoryHighWaterLevel) assert.Equal(t, defaultLowWaterLevel, qc.QueryNodeMemoryLowWaterLevel)