Allow forcing GC work via SN's control API #1513

Open
opened 2025-12-28 17:35:41 +00:00 by sami · 0 comments
Owner

Originally created by @carpawell on GitHub (Oct 3, 2025).

I'm always frustrated when we have sleeps in our test just to be sure GC has iterated for sure. This may also help in some debug cases on public nodes if some huge garbage cleanup is needed. It also may override GC batch size for one iteration.

Describe the solution you'd like

Add control call that forces SN to GC right now.

Describe alternatives you've considered

Keep sleeps in tests.

Additional context

https://github.com/nspcc-dev/neofs-testcases/pull/1163

Originally created by @carpawell on GitHub (Oct 3, 2025). ## Is your feature request related to a problem? Please describe. I'm always frustrated when we have sleeps in our test just to be sure _GC has iterated for sure_. This may also help in some debug cases on public nodes if some huge garbage cleanup is needed. It also may override GC batch size for one iteration. ## Describe the solution you'd like Add control call that forces SN to GC right now. ## Describe alternatives you've considered Keep sleeps in tests. ## Additional context https://github.com/nspcc-dev/neofs-testcases/pull/1163
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
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
nspcc-dev/neofs-node#1513
No description provided.