SET_SPREAD_OPTION
Changing spread settings with SET_SPREAD_OPTION
has minor impact on your cluster as it pauses while the new settings are propagated across the entire cluster.
Syntax
SET_SPREAD_OPTION( option‑name, option‑value )
Parameters
option‑name |
String containing the spread daemon setting to change. Currently, this function supports only one option: |
option‑value |
The new setting for option‑name. |
Example
=> SELECT SET_SPREAD_OPTION( 'TokenTimeout', '35000'); NOTICE 9003: Spread has been notified about the change SET_SPREAD_OPTION -------------------------------------------------------- Spread option 'TokenTimeout' has been set to '35000'. (1 row) => SELECT * FROM V_MONITOR.SPREAD_STATE; node_name | token_timeout ------------------+--------------- v_vmart_node0001 | 35000 v_vmart_node0002 | 35000 v_vmart_node0003 | 35000 (3 rows);