Make notary support enabled by default in morph client #905
Labels
No Label
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 Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: TrueCloudLab/frostfs-node#905
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
For now notary subsystem is widely used, so, the proposal is to enable notary support by default in morph client constructor.
To make this, we need to invoke EnableNotarySupport in constructor, but at the same it would be better to make this method
deprecated
to notify client to stop using this invocation explictly.I suggest to create
enableNotarySupport
, copy the definition to there and makeAlso, we need to avoid throwing
panic
-s like here, here etc.It is required to make morph client non-panic-prone and return error instead
panic
.Since, we're getting rid of
EnableNotarySupport
, we need to indroduce a method to disable the notary support enabled by default: