v.21.11Improvements

Correctly resolve table interdependencies on server startup

Correctly resolve interdependencies between tables on server startup. Closes #8004, closes #15170. #28373 (tavplubix).
Correctly resolves interdependencies between tables during ClickHouse server startup.

Why it matters

This feature addresses issues where tables with dependencies on each other may fail to initialize correctly on server startup. By properly resolving these interdependencies, the server ensures stable and consistent startup behavior, avoiding startup errors related to table dependencies.

How to use it

This fix is applied automatically in the ClickHouse server startup process. Users do not need to enable any additional settings to benefit from this improvement; simply upgrade to the version including this fix.