Add command to delete all objects on a node #167

Closed
opened 2023-03-23 13:43:59 +00:00 by fyrchik · 4 comments
Owner

Moved from TrueCloudLab/frostfs-api#4

For load and failover tests we use k6 to generate objects and upload it to storage node with little control.
At one point it can eat all available resources, so we need some methods to free the storage space (i.e. delete all objects regardless of container or owner) without cluster redeployment.

Moved from https://git.frostfs.info/TrueCloudLab/frostfs-api/issues/4 For load and failover tests we use k6 to generate objects and upload it to storage node with little control. At one point it can eat all available resources, so we need some methods to free the storage space (i.e. delete all objects regardless of container or owner) without cluster redeployment.
fyrchik added the
frostfs-node
triage
labels 2023-03-23 13:43:59 +00:00
Owner

May be implemented as a Control API call that drops all shards' DBs, caches, piloramas and blobovniczas, while doing fast parallel recursive unlink of fstree blobstor.

May be implemented as a Control API call that drops all shards' DBs, caches, piloramas and blobovniczas, while doing fast parallel recursive unlink of fstree blobstor.
Author
Owner

I would like to have undocumented --yes-i-am-ready-to-lose-all-my-data flag in CLI for this.

I would like to have undocumented `--yes-i-am-ready-to-lose-all-my-data` flag in CLI for this.
fyrchik added this to the v0.37.0 milestone 2023-04-11 08:22:48 +00:00
fyrchik added
frostfs-cli
and removed
triage
labels 2023-04-14 09:10:47 +00:00
fyrchik modified the milestone from v0.37.0 to v0.38.0 2023-05-18 10:51:06 +00:00
aarifullin self-assigned this 2023-05-29 09:57:01 +00:00
Member

Can we have just a frostfs-cli command that takes the node config as input and nukes all the data directories with services stopped? (rather than having to delete everything while services are running)

Can we have just a `frostfs-cli` command that takes the node config as input and nukes all the data directories with services stopped? (rather than having to delete everything while services are running)
Author
Owner

Not needed anymore.

Not needed anymore.
Sign in to join this conversation.
No milestone
No project
No assignees
3 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#167
No description provided.