v.20.1Improvement

Preparation for Universal tid Usage in ClickHouse

Preparation to use tid everywhere. This is needed for #7477. #8276 (alexey-milovidov)
Preparation work for integrating the tid (transaction ID) feature universally within ClickHouse.

Why it matters

This change lays the groundwork for enabling the use of transaction IDs (tid) across various parts of ClickHouse, which is essential for implementing full transactional support and consistent data operations as described in issue #7477.

How to use it

Users do not need to take any immediate action, as this is preparatory internal work. The feature will be utilized automatically in future releases when transaction IDs are fully supported and integrated.