mirror of https://github.com/milvus-io/milvus.git
[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
parent
a4e6c2ce79
commit
0954014c6d
|
@ -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 (
|
||||
|
|
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue