fe.conf file after the FE restarts. Therefore, we recommend that you also modify the configuration items in fe.conf to prevent the loss of modifications. From v3.5.0 onwards, you can add WITH PERSISTENT to the statement so that the new value is also written into the fe.conf file of each FE and is retained after the FE restarts. The statement with WITH PERSISTENT fails if fe.conf is not writable or the FE runs in a container.
The statement applies the change to the FE that you are connected to first, and then sends it to each of the other FEs. From v3.5.2 onwards, FEs that are offline are skipped, so they keep the old value after the statement succeeds. In earlier versions, an offline FE causes the statement to report an error. If the change fails on some FEs, the statement reports an error that names them, but the change is not rolled back on the FEs where it has already been applied. Connect to each FE that was skipped or failed, check the value with ADMIN SHOW FRONTEND CONFIG, and set it again if needed.
Tip
This operation requires the SYSTEM-level OPERATE privilege. You can follow the instructions in GRANT to grant this privilege.
Syntax
Examples
-
Set
disable_balancetotrue.