I have a BUFFER engine table that is attached to a MergeTree table for persistence.
Does CH flush the content of BUFFER tables to the persistent table when the CH server process is being shutdown?
For now, I run "OPTIMIZE TABLE mybuffertable" to flush it before shutting it down.
-kenji