[SUPPORT] shard: Use mode
from config on reload
#1183
1 changed files with 1 additions and 1 deletions
|
@ -360,7 +360,7 @@ func (s *Shard) Reload(ctx context.Context, opts ...Option) error {
|
|||
}
|
||||
|
||||
s.log.Info(logs.ShardTryingToRestoreReadwriteMode)
|
||||
|
||||
return s.setMode(mode.ReadWrite)
|
||||
return s.setMode(c.info.Mode)
|
||||
fyrchik
commented
This is a change of behaviour, should not be in the support branch. This is a change of behaviour, should not be in the support branch.
|
||||
}
|
||||
|
||||
func (s *Shard) lockExclusive() func() {
|
||||
|
|
Loading…
Reference in a new issue
The log message does no longer correspond to the action.