v.23.9Improvement
Field is_obsolete in system.merge_tree_settings table now indicates obsolete settings
Fieldis_obsoletein thesystem.merge_tree_settingstable - it is now 1 for obsolete merge tree settings. Previously, only the description indicated that the setting is obsolete. #54837 (Robert Schulze).
Why it matters
Previously, obsolete MergeTree settings were only indicated in their descriptions, which could be unclear or overlooked. Adding theis_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 thesystem.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