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

backport of: Add rollover-creation-date setting to rolled over index (#31144) #31413

Merged
merged 2 commits into from
Jun 20, 2018

Conversation

talevy
Copy link
Contributor

@talevy talevy commented Jun 18, 2018

This PR introduces a new section to IndexMetaData for storing information about
rollover actions that took place against a specific index.

Information stored

  • which alias was used to rollover
  • when the index was rolled over with that alias
  • which conditions were met

Closes #30887

@talevy talevy added :Data Management/Indices APIs APIs to create and manage indices and templates v6.4.0 labels Jun 18, 2018
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-infra

talevy and others added 2 commits June 19, 2018 11:15
This commit introduces a new property to IndexMetaData called
RolloverInfo. This object contains a map containing the aliases
that were used to rollover the related index, which conditions
were met, and at what time the rollover took place.

much like the `index.creation_date`, it captures the approximate time
that the index was rolled over to a new one.
@talevy talevy force-pushed the 6x-rollover-date branch from a94ceb8 to 64be08e Compare June 19, 2018 18:15
@talevy talevy requested review from colings86 and jasontedor June 19, 2018 22:02
@talevy talevy added review and removed review labels Jun 19, 2018
@talevy
Copy link
Contributor Author

talevy commented Jun 20, 2018

since this was not a tricky backport, I am withdrawing reviews and merging

@talevy talevy merged commit a270984 into elastic:6.x Jun 20, 2018
@talevy talevy deleted the 6x-rollover-date branch June 20, 2018 15:26
dnhatn added a commit that referenced this pull request Jun 20, 2018
* 6.x:
  [DOCS] Omit shard failures assertion for incompatible responses  (#31430)
  [DOCS] Move licensing APIs to docs (#31445)
  backport of: add is-write-index flag to aliases (#30942) (#31412)
  backport of: Add rollover-creation-date setting to rolled over index (#31144) (#31413)
  [Docs] Extend Homebrew installation instructions (#28902)
  [Docs] Mention ip_range datatypes on ip type page (#31416)
  Multiplexing token filter (#31208)
  Fix use of time zone in date_histogram rewrite (#31407)
  Revert "Mute DefaultShardsIT#testDefaultShards test"
  [DOCS] Fixes code snippet testing for machine learning (#31189)
  Security: fix joining cluster with production license (#31341)
  [DOCS] Updated version in Info API example
  [DOCS] Moves the info API to docs (#31121)
  Revert "Increasing skip version for failing test on 6.x"
  Preserve response headers on cluster update task (#31421)
  [DOCS] Add code snippet testing for more ML APIs (#31404)
  Docs: Advice for reindexing many indices (#31279)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Data Management/Indices APIs APIs to create and manage indices and templates >non-issue v6.4.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants