v.21.6Improvement

Preserve dictionaries during storage shutdown to avoid errors

Preserve dictionaries until storage shutdown (this will avoid possible external dictionary 'DICT' not found errors at server shutdown during final flush of the Buffer engine). #24068 (Azat Khuzhin).
Preserve external dictionaries until the storage is shut down to prevent external dictionary 'DICT' not found errors during the final flush of the Buffer engine.

Why it matters

This feature addresses the issue where external dictionaries are unloaded too early during server shutdown, causing errors when the Buffer engine tries to flush its data and access these dictionaries. By preserving the dictionaries until storage shutdown, it ensures a clean and error-free server shutdown process.

How to use it

This feature is enabled by default as part of the server shutdown process. No additional user action is required. Users will automatically benefit from preserved dictionaries during shutdown, avoiding related errors.