shard: Use mode
from config on reload
#1182
No reviewers
Labels
No labels
P0
P1
P2
P3
badger
frostfs-adm
frostfs-cli
frostfs-ir
frostfs-lens
frostfs-node
good first issue
triage
Infrastructure
blocked
bug
config
discussion
documentation
duplicate
enhancement
go
help wanted
internal
invalid
kludge
observability
perfomance
question
refactoring
wontfix
No milestone
No project
No assignees
6 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: TrueCloudLab/frostfs-node#1182
Loading…
Reference in a new issue
No description provided.
Delete branch "acid-ant/frostfs-node:bugfix/1173-use-mode-from-cfg-on-reload"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Close #1173
Signed-off-by: Anton Nikiforov an.nikiforov@yadro.com
Updated log message.
8c1657921d
to45ac7201ed
45ac7201ed
to3adb462b1c
@ -421,3 +421,2 @@
s.log.Info(logs.ShardTryingToRestoreReadwriteMode)
return s.setMode(mode.ReadWrite)
s.log.Info(logs.ShardTryingToSetModeFromConfig)
Add
zap.Stringer("mode", mode)
?О in Gitea stays for "Отзывчивость"
It's already done here, looks redundant.
How about removing this line then? Seems redundant.
Agree, updated.
@ -421,3 +421,2 @@
s.log.Info(logs.ShardTryingToRestoreReadwriteMode)
return s.setMode(mode.ReadWrite)
s.log.Info(logs.ShardTryingToSetModeFromConfig)
Add
zap.Stringer("mode", mode)
?@ -421,3 +421,2 @@
s.log.Info(logs.ShardTryingToRestoreReadwriteMode)
return s.setMode(mode.ReadWrite)
s.log.Info(logs.ShardTryingToSetModeFromConfig)
Add
zap.Stringer("mode", mode)
?Add
zap.Stringer("mode", mode)
?Add
zap.Stringer("mode", mode)
?@ -421,3 +421,2 @@
s.log.Info(logs.ShardTryingToRestoreReadwriteMode)
return s.setMode(mode.ReadWrite)
s.log.Info(logs.ShardTryingToSetModeFromConfig)
Add
zap.Stringer("mode", mode)
?3adb462b1c
to5546ee1027