mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-13 13:11:37 +01:00
app/vminsert/netstorage: remove the limit on the number of -storageNode
addresses
There is no any reasons to limit the number of `-storageNode` addresses to 255. Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/1599
This commit is contained in:
parent
09edcfd21c
commit
dca6f0f7de
@ -404,9 +404,6 @@ func InitStorageNodes(addrs []string) {
|
||||
if len(addrs) == 0 {
|
||||
logger.Panicf("BUG: addrs must be non-empty")
|
||||
}
|
||||
if len(addrs) > 255 {
|
||||
logger.Panicf("BUG: too much addresses: %d; max supported %d addresses", len(addrs), 255)
|
||||
}
|
||||
|
||||
// Sort addrs in order to guarantee identical series->vmstorage mapping across all the vminsert nodes.
|
||||
addrsCopy := append([]string{}, addrs...)
|
||||
|
Loading…
Reference in New Issue
Block a user