v.23.9Improvement

Field is_obsolete in system.merge_tree_settings table now indicates obsolete settings

Field is_obsolete in the system.merge_tree_settings table - it is now 1 for obsolete merge tree settings. Previously, only the description indicated that the setting is obsolete. #54837 (Robert Schulze).
Introduced the is_obsolete field in the system.merge_tree_settings table to explicitly mark obsolete MergeTree settings.

Why it matters

Previously, obsolete MergeTree settings were only indicated in their descriptions, which could be unclear or overlooked. Adding the is_obsolete field provides a clear and programmatically accessible way to identify obsolete settings, improving clarity and maintainability for users managing MergeTree configurations.

How to use it

Users can query the system.merge_tree_settings table and check the is_obsolete field. If it is set to 1, the corresponding setting is obsolete and should be avoided or replaced in configuration.

Example query:
SELECT name, is_obsolete FROM system.merge_tree_settings WHERE is_obsolete = 1