v.23.10Improvement

Creating Direct Dictionaries with Lifetime Field Rejected

Creating a direct dictionary with a lifetime field will be rejected at create time (as the lifetime does not make sense for direct dictionaries). Fixes: #27861. #49043 (Rory Crispin).
Reject creation of direct dictionaries with a lifetime field during dictionary creation.

Why it matters

Direct dictionaries do not support a lifetime field since the concept of lifetime does not apply to them. This feature improves the system by preventing invalid dictionary configurations that include a lifetime field for direct dictionaries, thereby avoiding potential confusion or misuse.

How to use it

When creating a direct dictionary, ensure that the dictionary definition does not include the lifetime field. If a lifetime field is present, the dictionary creation will be rejected with an error.