Allow tombstone_lifetime config to be loaded on the fly #1306

Open
opened 2024-08-12 11:01:11 +00:00 by abereziny · 1 comment
Member

For automation testing we need to change option tombstone_lifetime on the fly without restarting node services.

Describe the solution you'd like

  1. Change config option
  2. Send sighup signal to node service
  3. Service should reload it's options and apply tombstone_lifetime on the fly without restarting.

Describe alternatives you've considered

None. 20 minutes delay to restart services each time config is changed is not an option for automation.

Additional context

Would be great if other config options would work this way too.

Don't forget to add labels!

  • component label (neofs-adm, neofs-storage, ...) - I have no rights to do this.
  • issue type (enhancement, refactor, ...) - I have no rights to do this.
## Is your feature request related to a problem? Please describe. For automation testing we need to change option [tombstone_lifetime](https://git.frostfs.info/TrueCloudLab/frostfs-node/src/commit/80ce7c3a0095e707e44accf30be6bf7f61bfacc4/config/example/node.yaml#L110) on the fly without restarting node services. ## Describe the solution you'd like 1. Change config option 2. Send sighup signal to node service 3. Service should reload it's options and apply [tombstone_lifetime](https://git.frostfs.info/TrueCloudLab/frostfs-node/src/commit/80ce7c3a0095e707e44accf30be6bf7f61bfacc4/config/example/node.yaml#L110) on the fly without restarting. ## Describe alternatives you've considered None. 20 minutes delay to restart services each time config is changed is not an option for automation. ## Additional context Would be great if other config options would work this way too. ## Don't forget to add labels! - component label (`neofs-adm`, `neofs-storage`, ...) - I have no rights to do this. - issue type (`enhancement`, `refactor`, ...) - I have no rights to do this.
abereziny added the
triage
label 2024-08-12 11:01:11 +00:00
fyrchik added
frostfs-node
enhancement
and removed
triage
labels 2024-08-13 13:21:23 +00:00
fyrchik added the
good first issue
label 2024-08-19 07:36:34 +00:00
fyrchik added this to the v0.43.0 milestone 2024-08-19 08:20:42 +00:00
Owner

It seems only cmd/frostfs-node package needs to be changed.

It seems only `cmd/frostfs-node` package needs to be changed.
elebedeva was assigned by fyrchik 2024-08-19 08:23:20 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
2 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-node#1306
No description provided.