[#325] node: Introduce unsafe_disable param to disable policer #383
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
4 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: TrueCloudLab/frostfs-node#383
Loading…
Reference in a new issue
No description provided.
Delete branch "aarifullin/frostfs-node:feature/325-policer_off"
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: Airat Arifullin a.arifullin@yadro.com
@ -205,2 +205,4 @@
func addPolicer(c *cfg, keyStorage *util.KeyStorage, clientConstructor *cache.ClientCache) {
if policerconfig.UnsafeDisable(c.appCfg) {
c.log.Info(logs.FrostFSNodePolicerIsDisabled)
Can we do this with
Warn
level? It is probably a mistake, unless you know what you are doing, so can safely ignore the warning.OK
Fixed
5465717a86
to6550968556
@ -455,6 +455,7 @@ const (
FrostFSNodeNotificatorFinishedProcessingObjectNotifications = "notificator: finished processing object notifications" // Debug in ../node/cmd/frostfs-node/notificator.go
FrostFSNodeCouldNotWriteObjectNotification = "could not write object notification" // Warn in ../node/cmd/frostfs-node/notificator.go
FrostFSNodeCouldNotGetMaxObjectSizeValue = "could not get max object size value" // Error in ../node/cmd/frostfs-node/object.go
FrostFSNodePolicerIsDisabled = "policer is disabled" // Info in ../node/cmd/frostfs-node/object.go
It's no longer
Info
cc @aarifullin
Also, as let's omit level in new logs -- initially it was autogenerated, I think we may need it less now (and now the information can be easily obtained with grep).
Fixed
6550968556
to8763e8aaf3
@aarifullin there are conflicts with the main branch
8763e8aaf3
to22da65ac9c
@ -479,2 +479,3 @@
FrostFSNodeCantListenGRPCEndpointControl = "can't listen gRPC endpoint (control)" // Error in ../node/cmd/frostfs-node/control.go
CommonApplicationStarted = "application started" // Info in ../node/cmd/frostfs-ir/main.go
FrostFSNodePolicerIsDisabled = "policer is disabled"
CommonApplicationStarted = "application started" // Info in ../node/cmd/frostfs-ir/main.go
Please delete
// Info in ../node/cmd/frostfs-ir/main.go
22da65ac9c
toe4afe0a565