mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2025-03-11 15:34:56 +00:00
app/vminsert/netstorage: make linter happy
Signed-off-by: Zakhar Bessarab <z.bessarab@victoriametrics.com>
This commit is contained in:
parent
88bfad9535
commit
130b9cd04e
1 changed files with 2 additions and 2 deletions
|
@ -679,8 +679,8 @@ func initStorageNodes(addrs []string, hashSeed uint64) *storageNodesBucket {
|
|||
sns: oldSnb.sns,
|
||||
}
|
||||
|
||||
newNodeIds := append(snb.nodesHash.nodeHashes, sn.getID())
|
||||
snbNew.nodesHash = newConsistentHash(newNodeIds, hashSeed)
|
||||
newNodeIDs := append(snb.nodesHash.nodeHashes, sn.getID())
|
||||
snbNew.nodesHash = newConsistentHash(newNodeIDs, hashSeed)
|
||||
|
||||
if !storageNodes.CompareAndSwap(oldSnb, &snbNew) {
|
||||
goto again
|
||||
|
|
Loading…
Reference in a new issue