[Data stream lifecycle] Introduce factory retention settings (#107741)

We introduce the plumbing so that a plugin can provide factory retention. This retention will take effect if there is no global retention provided by the user.

Without a plugin defining the factory retention, elasticsearch will have no factory retention.
This commit is contained in:
Mary Gouseti 2024-04-24 11:52:24 +03:00 committed by GitHub
parent 27c6fc4794
commit 119f6e71ce
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
21 changed files with 378 additions and 47 deletions

View file

@ -414,6 +414,7 @@ module org.elasticsearch.server {
uses org.elasticsearch.internal.BuildExtension;
uses org.elasticsearch.features.FeatureSpecification;
uses org.elasticsearch.plugins.internal.LoggingDataProvider;
uses org.elasticsearch.cluster.metadata.DataStreamFactoryRetention;
provides org.elasticsearch.features.FeatureSpecification
with