forked from TrueCloudLab/frostfs-node
[#324] ir/netmap: Do not return on block timer restart error
Continue execution of the new epoch handler in case of a failed timer restart. Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
parent
1664cf9869
commit
a6517bc877
1 changed files with 0 additions and 2 deletions
|
@ -13,8 +13,6 @@ func (np *Processor) processNewEpoch(epoch uint64) {
|
||||||
if err := np.epochTimer.ResetEpochTimer(); err != nil {
|
if err := np.epochTimer.ResetEpochTimer(); err != nil {
|
||||||
np.log.Warn("can't reset epoch timer",
|
np.log.Warn("can't reset epoch timer",
|
||||||
zap.String("error", err.Error()))
|
zap.String("error", err.Error()))
|
||||||
|
|
||||||
return
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// get new netmap snapshot
|
// get new netmap snapshot
|
||||||
|
|
Loading…
Reference in a new issue