v.25.7Improvement

Shutdown SystemLogs after ordinary tables

Shutdown SystemLogs after ordinary tables (and before system tables, instead of before ordinary). #83134 (Kseniia Sumarokova).
Changed the shutdown sequence to close SystemLogs after ordinary tables and before system tables.

Why it matters

This change improves the shutdown process by ensuring that SystemLogs tables are finalized only after all ordinary tables have been closed. This avoids potential issues with log data being lost or incomplete during shutdown, enhancing data integrity and reliability.

How to use it

This feature is applied automatically with the new ClickHouse version update. No additional configuration or user action is required to benefit from the improved shutdown sequence.