v.21.11Improvements

Add Support for FREEZing In-Memory Parts for Backups

Add support for FREEZEing in-memory parts (for backups). #29376 (Mo Xuan).
Add support for FREEZEing in-memory parts in ClickHouse to enable consistent backups of recently inserted data not yet flushed to disk.

Why it matters

This feature addresses the limitation where FREEZE only captured parts already flushed to disk, excluding in-memory parts. By supporting freezing of in-memory parts, users can create more comprehensive backups, ensuring that all recent data, including data still in memory, is included.

How to use it

Users can perform a FREEZE operation as usual on their tables. The system now automatically includes in-memory parts in the freeze process, so no additional configuration is required beyond executing the FREEZE command.