Skip to content

Clean the last traces from global retention in templates#111669

Merged
gmarouli merged 9 commits intoelastic:mainfrom
gmarouli:remove-global-retention-from-templates
Aug 19, 2024
Merged

Clean the last traces from global retention in templates#111669
gmarouli merged 9 commits intoelastic:mainfrom
gmarouli:remove-global-retention-from-templates

Conversation

@gmarouli
Copy link
Copy Markdown
Contributor

@gmarouli gmarouli commented Aug 7, 2024

Follow up from #108170.

In this PR we remove completely the global retention field from the templates. We left some deprecated constructors because they are still used in serverless. We will clean them up in a follow up PR.

@elasticsearchmachine
Copy link
Copy Markdown
Collaborator

Pinging @elastic/es-data-management (Team:Data Management)

@gmarouli gmarouli requested a review from masseyke August 7, 2024 11:54
@gmarouli
Copy link
Copy Markdown
Contributor Author

gmarouli commented Aug 8, 2024

@elasticmachine update branch


@Override
protected GetComposableIndexTemplateAction.Response mutateInstance(GetComposableIndexTemplateAction.Response instance) {
return randomValueOtherThan(instance, this::createTestInstance);
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a note -- this kind of mutateInstance seems to defeat the purpose of the test, but that's outside of the scope of this PR.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Happy to implement since I am in the code :)

@gmarouli gmarouli merged commit 24b852b into elastic:main Aug 19, 2024
weizijun added a commit to weizijun/elasticsearch that referenced this pull request Aug 19, 2024
* upstream/main:
  Fail `indexDocs()` on rejection (elastic#111962)
  Move repo analyzer to its own package (elastic#111963)
  Add generated evaluators for DateNanos conversion functions (elastic#111961)
  Clean the last traces from global retention in templates (elastic#111669)
  Fix known issue docs for elastic#111866 (elastic#111956)
  x-pack/plugin/otel: introduce x-pack-otel plugin (elastic#111091)
  Improve reaction to blob store corruptions (elastic#111954)
  Introduce `StreamingXContentResponse` (elastic#111933)
  Revert "Add 8.15.0 known issue for memory locking in Windows (elastic#111949)"
  Test get-snapshots API with missing details (elastic#111903)
  Add 8.15.0 known issue for memory locking in Windows (elastic#111949)

# Conflicts:
#	server/src/main/java/org/elasticsearch/TransportVersions.java
@gmarouli gmarouli deleted the remove-global-retention-from-templates branch August 19, 2024 14:21
cbuescher pushed a commit to cbuescher/elasticsearch that referenced this pull request Sep 4, 2024
davidkyle pushed a commit to davidkyle/elasticsearch that referenced this pull request Sep 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants