Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reuse Info in lifecycle step #89419

Conversation

mushao999
Copy link
Contributor

We have a SingleMessageFiledInfo defined in org/elasticsearch/xpack/core/ilm/step/info to provide single message info for AsyncWaitStep and ClusterStateWaitStep.But there are still some steps like CheckNotDataStreamWriteIndexStep defining their own single message info.
This pr removes the duplicated info defination in these steps and use SingleMessageFiledInfo instand.

@elasticsearchmachine elasticsearchmachine added v8.5.0 external-contributor Pull request authored by a developer outside the Elasticsearch team needs:triage Requires assignment of a team area label labels Aug 17, 2022
@nik9000 nik9000 added :Data Management/ILM+SLM Index and Snapshot lifecycle management team-discuss and removed needs:triage Requires assignment of a team area label labels Aug 17, 2022
@elasticsearchmachine
Copy link
Collaborator

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

@elasticsearchmachine elasticsearchmachine added the Team:Data Management Meta label for data/management team label Aug 17, 2022
@dakrone dakrone self-assigned this Aug 17, 2022
@dakrone dakrone self-requested a review August 17, 2022 18:58
Copy link
Member

@dakrone dakrone left a comment

Choose a reason for hiding this comment

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

LGTM, I saw one typo in the changelog

docs/changelog/89419.yaml Outdated Show resolved Hide resolved
@dakrone
Copy link
Member

dakrone commented Aug 17, 2022

@elasticmachine ok to test

@dakrone dakrone changed the title Reuse Info in lifecycel step Reuse Info in lifecycle step Aug 17, 2022
Copy link
Member

@dakrone dakrone left a comment

Choose a reason for hiding this comment

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

It appears that this also needs test changes (see the CI failures for details), as a lot of them reference the inner Info classes, @mushao999 can you adjust this accordingly?

@dakrone
Copy link
Member

dakrone commented Aug 18, 2022

@elasticmachine update branch

@dakrone dakrone added the auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) label Aug 18, 2022
@elasticsearchmachine elasticsearchmachine merged commit 22e1150 into elastic:main Aug 18, 2022
weizijun added a commit to weizijun/elasticsearch that referenced this pull request Aug 19, 2022
* upstream/main: (265 commits)
  Disable openid connect tests due to missing fixture (elastic#89478)
  Add periodic job for single processor node testing
  Updates to changelog processing after docs redesign (elastic#89463)
  Better support for multi cluster for run task (elastic#89442)
  Mute failing tests (elastic#89465)
  [ML] Performance improvements related to ECS Grok pattern usage (elastic#89424)
  Add source fallback support for date and date_nanos mapped types (elastic#89440)
  Reuse Info in lifecycle step (elastic#89419)
  feature: support metrics for multi value fields (elastic#88818)
  Upgrade OpenTelemetry API and remove workaround (elastic#89438)
  Remove LegacyClusterTaskResultActionListener (elastic#89459)
  Add YAML spec docs about matching errors (elastic#89370)
  Remove redundant cluster upgrade tests for auth tokens (elastic#89417)
  Return 400 error for GetUserPrivileges call with API keys (elastic#89333)
  User Profile - Detailed errors in hasPrivileges response (elastic#89224)
  Rollover min_* conditions docs and highlight (elastic#89434)
  REST tests for percentiles_bucket agg (elastic#88029)
  REST tests for cumulative pipeline aggs (elastic#88966)
  Clean-up file watcher keys. (elastic#89429)
  fix a typo in Security.java (elastic#89248)
  ...

# Conflicts:
#	server/src/main/java/org/elasticsearch/index/mapper/NumberFieldMapper.java
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) :Data Management/ILM+SLM Index and Snapshot lifecycle management >enhancement external-contributor Pull request authored by a developer outside the Elasticsearch team Team:Data Management Meta label for data/management team v8.5.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants