Skip to main content

freeze_node

Function freeze_node 

Source
pub fn freeze_node(handle: &RedisServerHandle)
Expand description

Freeze a node by sending SIGSTOP.

The process is suspended – it stops processing commands and won’t respond to PING, but stays in memory. Clients will see timeouts. Use resume_node to unfreeze it.

This is more useful than kill_node for testing timeout handling and partition scenarios because the node can be resumed without losing state.