shard: Set Disabled
as default mode
for components #1168
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 project
No assignees
4 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: TrueCloudLab/frostfs-node#1168
Loading…
Reference in a new issue
No description provided.
Delete branch "acid-ant/frostfs-node:bugfix/shard-create-mode-cmp"
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?
Signed-off-by: Anton Nikiforov an.nikiforov@yadro.com
c217699e2a
tob3b0a0dade
b3b0a0dade
toe31104c9c9
@ -57,0 +60,4 @@
// WithMode sets mode.
func WithMode(mode mode.Mode) Option {
return func(o *options) {
o.mode = mode
Why is it important if we already provide the mode in
Open
?Because in degraded scenario, we skip Open and Init for write-cache, my fault.
I think default values should be usable (and "degraded" mode being the default for write-cache is accidental).
What about using
disabled
for everything and change this mode onOpen
? It seems logical.Sounds better. Updated.
e31104c9c9
tob71675add6
shard: Setto shard: Setmode
for components when createdDisabled
as defaultmode
for componentsb71675add6
toe7e3bbbc25
Disabled
as defaultmode
for components #1181Disabled
as defaultmode
for components #1185