Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions doc/sfsmaster.cfg.5.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,23 @@ for TLS connections (there is no default value).
Path to the trusted CA certificate which is used to authenticate
the TLS connection (there is no default value).

*EMPTY_RESERVED_FILES_PERIOD_MSECONDS (EXPERIMENTAL)*::
Interval for periodic cleaning of reserved files, in milliseconds.
If set to 0, the reserved files deletion is disabled. (Default: 0)

[WARNING]
====
Administrator-only option. Enabling periodic deletion may remove master-side
references to reserved files that are still held by other applications or
client instances that have not released them yet. This can disrupt ongoing
operations and lead to unexpected errors.

Recommended approach: Do not enable automatic deletion unless you fully
understand the impact on running workloads. Prefer manually freeing reserved
files by locating each reference or process using them and stopping it before
releasing the reservation.
====

== NOTES

Chunks in master are tested in loop. Speed (or frequency) is regulated by two
Expand Down
16 changes: 11 additions & 5 deletions src/data/sfsmaster.cfg.in
Original file line number Diff line number Diff line change
Expand Up @@ -244,11 +244,6 @@
## (Default: 3600)
# METADATA_DUMP_PERIOD_SECONDS = 3600

## Interval for periodically cleaning of reserved files, in milliseconds. If set to 0, the reserved files
## deletion is disabled.
## (Default: 0)
# EMPTY_RESERVED_FILES_PERIOD_MSECONDS = 0

# deprecated:
# CHUNKS_DEL_LIMIT - use CHUNKS_SOFT_DEL_LIMIT instead

Expand Down Expand Up @@ -355,3 +350,14 @@
## Example: /etc/saunafs/ssl/ca.crt
## (There is no default)
# TLS_CA_CERT_FILE =

## Interval for periodic cleaning of reserved files, in milliseconds.
## If set to 0, the reserved files deletion is disabled.
## (Default: 0)
##
## Note: Administrator-only option. Enabling periodic deletion may remove
## master-side references to reserved files that are still held by other
## applications or client instances that have not released them yet. This
## can disrupt ongoing operations and lead to unexpected errors.
##
# EMPTY_RESERVED_FILES_PERIOD_MSECONDS = 0