[skip e2e] Fix broken default parameters for seal segment policy (#21207)

Signed-off-by: yun.zhang <yun.zhang@zilliz.com>

Signed-off-by: yun.zhang <yun.zhang@zilliz.com>
pull/21021/head
jaime 2022-12-15 18:31:23 +08:00 committed by GitHub
parent a4e6c2ce79
commit 0954014c6d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 3 deletions

View File

@ -24,12 +24,13 @@ import (
"time"
"github.com/milvus-io/milvus-proto/go-api/commonpb"
"go.uber.org/zap"
"github.com/milvus-io/milvus/internal/log"
"github.com/milvus-io/milvus/internal/proto/datapb"
"github.com/milvus-io/milvus/internal/types"
"github.com/milvus-io/milvus/internal/util/trace"
"github.com/milvus-io/milvus/internal/util/tsoutil"
"go.uber.org/zap"
)
var (

View File

@ -1302,7 +1302,7 @@ func (p *dataCoordConfig) init(base *BaseTable) {
p.SegmentSealProportion = ParamItem{
Key: "dataCoord.segment.sealProportion",
Version: "2.0.0",
DefaultValue: "0",
DefaultValue: "0.25",
}
p.SegmentSealProportion.Init(base.mgr)
@ -1316,7 +1316,7 @@ func (p *dataCoordConfig) init(base *BaseTable) {
p.SegmentMaxLifetime = ParamItem{
Key: "dataCoord.segment.maxLife",
Version: "2.0.0",
DefaultValue: "24",
DefaultValue: "86400",
}
p.SegmentMaxLifetime.Init(base.mgr)