v.23.8Improvement

Add Option to Disable Flush for Distributed Tables on DETACH, DROP, or Shutdown

Add ability to turn off flush of Distributed tables on DETACH, DROP, or server shutdown. #53501 (Azat Khuzhin).
Add the ability to disable flushing of Distributed tables on DETACH, DROP, or server shutdown operations.

Why it matters

This feature addresses scenarios where users want to avoid the automatic flushing of data from Distributed tables during table detach, drop, or server shutdown events. It is useful to prevent potential delays or to manage data flow manually, improving operational control and performance in certain environments.

How to use it

Users can disable flushing by configuring the new setting that controls the flush behavior of Distributed tables on DETACH, DROP, or server shutdown. This can be set in the server configuration or at the session level to control when the flush occurs.