Repository navigation
feat(daemon): implement SIGHUP config reload - #2497
Merged
Merged
Conversation
Add live configuration reload on SIGHUP to the daemon server loop. When the daemon receives SIGHUP, it re-reads and re-parses the rsyncd.conf file, replacing module definitions and MOTD for new connections while existing connections retain the old config via Arc snapshot isolation.
oferchen
force-pushed
the
feat/sighup-reload
branch
from
February 26, 2026 17:18
243ca83 to
85764f0
Compare
oferchen
added a commit
that referenced
this pull request
May 1, 2026
Add live configuration reload on SIGHUP to the daemon server loop. When the daemon receives SIGHUP, it re-reads and re-parses the rsyncd.conf file, replacing module definitions and MOTD for new connections while existing connections retain the old config via Arc snapshot isolation.
oferchen
added a commit
that referenced
this pull request
May 5, 2026
Add live configuration reload on SIGHUP to the daemon server loop. When the daemon receives SIGHUP, it re-reads and re-parses the rsyncd.conf file, replacing module definitions and MOTD for new connections while existing connections retain the old config via Arc snapshot isolation.
2 tasks done
oferchen
added a commit
that referenced
this pull request
May 20, 2026
….a) (#4602) Audit doc tracking BR-3i.a (#2497): records the path the resolved strong checksum takes from negotiate_capabilities through ReceiverContext to the delta-apply boundary, lists every ParallelDeltaApplier::new call site, and recommends the exact field BR-3i.b should add to thread the algorithm into verify_chunk.
4 of 5 tasks
oferchen
added a commit
that referenced
this pull request
Aug 24, 2026
….a) (#4602) Audit doc tracking BR-3i.a (#2497): records the path the resolved strong checksum takes from negotiate_capabilities through ReceiverContext to the delta-apply boundary, lists every ParallelDeltaApplier::new call site, and recommends the exact field BR-3i.b should add to thread the algorithm into verify_chunk.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
config_pathfield toRuntimeOptionsto retain the startup config file pathreload_daemon_config()function that atomically swaps modules and motd via Arc replacementTest plan
reload_config_with_no_config_path_is_noop- no config path yields no-opreload_config_with_missing_file_keeps_old_config- missing file preserves old configreload_config_replaces_modules_and_motd- valid config replaces modulesreload_config_existing_connections_keep_old_config- Arc isolation verifiedreload_config_with_invalid_syntax_keeps_old_config- parse error preserves old configreload_config_sighup_flag_triggers_reload- AtomicBool swap pattern correctnessparse_config_stores_config_path_for_sighup_reload- config_path stored on --configno_config_flag_yields_no_config_path- no --config means no config_path