mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-11-30 02:48:45 +08:00
Remove unused config item in dataservice and datanode
Signed-off-by: sunby <bingyi.sun@zilliz.com>
This commit is contained in:
parent
9ccaff8005
commit
b79a408491
@ -30,10 +30,6 @@ dataNode:
|
||||
recvBufSize: 1024 # msgPack chan buffer size
|
||||
pulsarBufSize: 1024 # pulsar chan buffer size
|
||||
|
||||
segStatistics:
|
||||
recvBufSize: 64
|
||||
updateInterval: 1000 # milliseconds
|
||||
|
||||
flush:
|
||||
# max buffer size to flush
|
||||
insertBufSize: 32000 # number of rows
|
||||
|
@ -1,11 +1,8 @@
|
||||
dataservice:
|
||||
nodeID: 14040
|
||||
address: "127.0.0.1"
|
||||
port: 13333
|
||||
segment:
|
||||
size: 512 # MB
|
||||
sizeFactor: 0.75
|
||||
defaultSizePerRecord: 1024
|
||||
IDAssignExpiration: 2000 # ms
|
||||
insertChannelNum: 2
|
||||
dataNodeNum: 1
|
||||
|
@ -33,7 +33,6 @@ type ParamTable struct {
|
||||
// segment
|
||||
SegmentSize float64
|
||||
SegmentSizeFactor float64
|
||||
DefaultRecordSize int64
|
||||
SegIDAssignExpiration int64
|
||||
|
||||
InsertChannelPrefixName string
|
||||
@ -72,7 +71,6 @@ func (p *ParamTable) Init() {
|
||||
|
||||
p.initSegmentSize()
|
||||
p.initSegmentSizeFactor()
|
||||
p.initDefaultRecordSize()
|
||||
p.initSegIDAssignExpiration()
|
||||
p.initInsertChannelPrefixName()
|
||||
p.initInsertChannelNum()
|
||||
@ -139,10 +137,6 @@ func (p *ParamTable) initSegmentSizeFactor() {
|
||||
p.SegmentSizeFactor = p.ParseFloat("dataservice.segment.sizeFactor")
|
||||
}
|
||||
|
||||
func (p *ParamTable) initDefaultRecordSize() {
|
||||
p.DefaultRecordSize = p.ParseInt64("dataservice.segment.defaultSizePerRecord")
|
||||
}
|
||||
|
||||
func (p *ParamTable) initSegIDAssignExpiration() {
|
||||
p.SegIDAssignExpiration = p.ParseInt64("dataservice.segment.IDAssignExpiration") //ms
|
||||
}
|
||||
|
@ -45,7 +45,7 @@ func (pt *ParamTable) LoadFromEnv() {
|
||||
}
|
||||
|
||||
func (pt *ParamTable) initPort() {
|
||||
pt.Port = pt.ParseInt("dataservice.port")
|
||||
pt.Port = pt.ParseInt("dataService.port")
|
||||
}
|
||||
|
||||
func (pt *ParamTable) initMasterAddress() {
|
||||
|
Loading…
Reference in New Issue
Block a user