forked from TrueCloudLab/frostfs-node
[#446] innerring: Use alphabet state in processors
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
This commit is contained in:
parent
1332db883e
commit
e05f1e1394
17 changed files with 80 additions and 69 deletions
|
@ -42,8 +42,8 @@ func (np *Processor) processNewEpoch(epoch uint64) {
|
|||
|
||||
// Process new epoch tick by invoking new epoch method in network map contract.
|
||||
func (np *Processor) processNewEpochTick() {
|
||||
if !np.activeState.IsActive() {
|
||||
np.log.Info("passive mode, ignore new epoch tick")
|
||||
if !np.alphabetState.IsAlphabet() {
|
||||
np.log.Info("non alphabet mode, ignore new epoch tick")
|
||||
return
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue