saunafs icon indicating copy to clipboard operation
saunafs copied to clipboard

perf: Skip metadata dump during chunk registration

Open ralcolea opened this issue 11 months ago • 0 comments

This commit prevents metadata dumps from running while chunks registration is active. This avoids a potential performance degradation caused by running two resource-intensive operations in parallel. The improvement is especially noticeable in large-scale deployments, where chunks registration can take several minutes and collide with the periodic metadata dump.

Additionally, logs were added to the dumping logic to better identify different stages of the forking process.

ralcolea avatar May 22 '25 11:05 ralcolea