[#181] ir: Do not sync the Alphabet by non-alphabet nodes
Signed-off-by: Pavel Karpy <p.karpy@yadro.com>
This commit is contained in:
parent
44d5412e10
commit
db5321309d
1 changed files with 4 additions and 2 deletions
|
@ -10,7 +10,7 @@ import (
|
||||||
"git.frostfs.info/TrueCloudLab/frostfs-node/pkg/innerring/processors/audit"
|
"git.frostfs.info/TrueCloudLab/frostfs-node/pkg/innerring/processors/audit"
|
||||||
"git.frostfs.info/TrueCloudLab/frostfs-node/pkg/innerring/processors/balance"
|
"git.frostfs.info/TrueCloudLab/frostfs-node/pkg/innerring/processors/balance"
|
||||||
cont "git.frostfs.info/TrueCloudLab/frostfs-node/pkg/innerring/processors/container"
|
cont "git.frostfs.info/TrueCloudLab/frostfs-node/pkg/innerring/processors/container"
|
||||||
frostfs "git.frostfs.info/TrueCloudLab/frostfs-node/pkg/innerring/processors/frostfs"
|
"git.frostfs.info/TrueCloudLab/frostfs-node/pkg/innerring/processors/frostfs"
|
||||||
"git.frostfs.info/TrueCloudLab/frostfs-node/pkg/innerring/processors/governance"
|
"git.frostfs.info/TrueCloudLab/frostfs-node/pkg/innerring/processors/governance"
|
||||||
"git.frostfs.info/TrueCloudLab/frostfs-node/pkg/innerring/processors/netmap"
|
"git.frostfs.info/TrueCloudLab/frostfs-node/pkg/innerring/processors/netmap"
|
||||||
nodevalidator "git.frostfs.info/TrueCloudLab/frostfs-node/pkg/innerring/processors/netmap/nodevalidation"
|
nodevalidator "git.frostfs.info/TrueCloudLab/frostfs-node/pkg/innerring/processors/netmap/nodevalidation"
|
||||||
|
@ -90,7 +90,9 @@ func (s *Server) initNetmapProcessor(cfg *viper.Viper,
|
||||||
AuditSettlementsHandler: s.onlyAlphabetEventHandler(
|
AuditSettlementsHandler: s.onlyAlphabetEventHandler(
|
||||||
settlementProcessor.HandleAuditEvent,
|
settlementProcessor.HandleAuditEvent,
|
||||||
),
|
),
|
||||||
AlphabetSyncHandler: alphaSync,
|
AlphabetSyncHandler: s.onlyAlphabetEventHandler(
|
||||||
|
alphaSync,
|
||||||
|
),
|
||||||
NodeValidator: nodevalidator.New(
|
NodeValidator: nodevalidator.New(
|
||||||
&netMapCandidateStateValidator,
|
&netMapCandidateStateValidator,
|
||||||
addrvalidator.New(),
|
addrvalidator.New(),
|
||||||
|
|
Loading…
Reference in a new issue