Skip to content

[BUG] - SIGHUP causes full re-validation  #3872

@grim-i-am

Description

@grim-i-am

Internal/External
External

Area
Other

Summary
Sending a SIGHUP signal to the cardano-node process as per understanding-your-configuration-files-and-how-to-use-them:

You can tell the node that the topology configuration file changed by sending a SIGHUP signal to the cardano-node process, e.g. pkill -HUP cardano-node. After receiving the signal, cardano-node will re-read the file and restart all dns resolution. Please note that this only applies to the topology configuration file!

results in a full re-validation.

Steps to reproduce
go to a terminal on a machine running a node instance.
issue command pkill -HUP cardano-node

Expected behavior
The node should just continue synchronising with its new list of peers after re-reading the topology config file and not perform a re-validation.

System info (please complete the following information):

  • OS Name: Linux Mint
  • OS Version 20.3
  • Node version 1.34.1 - linux-x86_64 - ghc-8.10
  • CLI version 1.34.1 - linux-x86_64 - ghc-8.10

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions