mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
[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>
This commit is contained in:
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…
x
Reference in New Issue
Block a user