Make best effort to parse placement policy on the start #168

Closed
opened 2023-07-11 08:11:18 +00:00 by alexvanin · 0 comments

S3 gateway does not start if there are invalid placement policies in the config. Also all placement policies are ignored on SIGHUP reload if single policy is invalid. This makes service less robust for the errors.

Describe the solution you'd like

Ignore invalid placement policies on the startup, warn about invalid issues on logs during startup and SIGHUP reload.

Describe alternatives you've considered

Do as it done before.

Additional context

There was a load drawdown in when invalid policies appeared in the config when node restarted.

## Is your feature request related to a problem? Please describe. S3 gateway does not start if there are invalid placement policies in the config. Also _all_ placement policies are ignored on SIGHUP reload if single policy is invalid. This makes service less robust for the errors. ## Describe the solution you'd like Ignore invalid placement policies on the startup, warn about invalid issues on logs during startup and SIGHUP reload. ## Describe alternatives you've considered Do as it done before. ## Additional context There was a load drawdown in when invalid policies appeared in the config when node restarted.
alexvanin added this to the v0.28.0 milestone 2023-07-11 08:11:18 +00:00
dkirillov self-assigned this 2023-08-18 13:28:45 +00:00
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: TrueCloudLab/frostfs-s3-gw#168
There is no content yet.