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

Allow listing older repositories #78244

Merged
merged 16 commits into from
Oct 26, 2021
Merged

Allow listing older repositories #78244

merged 16 commits into from
Oct 26, 2021

Conversation

ywelsch
Copy link
Contributor

@ywelsch ywelsch commented Sep 23, 2021

Allows listing repositories with snapshots down to ES 5.0. This does not mean that these snapshots can be restored, just that you can inspect the metadata of older repositories and list their snapshots.

Note that this already worked (except for /_status), but was untested.

@ywelsch ywelsch marked this pull request as ready for review October 21, 2021 13:29
@ywelsch ywelsch added the :Distributed/Snapshot/Restore Anything directly related to the `_snapshot/*` APIs label Oct 21, 2021
@elasticmachine elasticmachine added the Team:Distributed Meta label for distributed team label Oct 21, 2021
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-distributed (Team:Distributed)

Copy link
Contributor

@breskeby breskeby left a comment

Choose a reason for hiding this comment

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

I've added some remarks about registering the test clusters in use lazy. Otherwise lgtm.

I will look Independently into making the unzipping part a bit more efficient using gradle artifact transforms functionality. But this is unrelated to the PR itself.

qa/repository-old-versions/build.gradle Outdated Show resolved Hide resolved
qa/repository-old-versions/build.gradle Outdated Show resolved Hide resolved
qa/repository-old-versions/build.gradle Outdated Show resolved Hide resolved
@ywelsch ywelsch requested a review from breskeby October 26, 2021 10:23
Copy link
Member

@original-brownbear original-brownbear left a comment

Choose a reason for hiding this comment

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

LGTM, just an optional point on performance that can be ignored for now.

Copy link
Contributor

@breskeby breskeby left a comment

Choose a reason for hiding this comment

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

build parts lgtm

@ywelsch ywelsch merged commit 8599e6e into elastic:master Oct 26, 2021
weizijun added a commit to weizijun/elasticsearch that referenced this pull request Oct 26, 2021
* upstream/master: (209 commits)
  Enforce license expiration (elastic#79671)
  TSDB: Automatically add timestamp mapper (elastic#79136)
  [DOCS]  `_id` is required for bulk API's `update` action (elastic#79774)
  EQL: Add optional fields and limit joining keys on non-null values only (elastic#79677)
  [DOCS] Document range enrich policy (elastic#79607)
  [DOCS] Fix typos in 8.0 security migration (elastic#79802)
  Allow listing older repositories (elastic#78244)
  [ML] track inference model feature usage per node (elastic#79752)
  Remove IncrementalClusterStateWriter & related code (elastic#79738)
  Reuse previous indices lookup when possible (elastic#79004)
  Reduce merging in PersistedClusterStateService (elastic#79793)
  SQL: Adjust JDBC docs to use milliseconds for timeouts (elastic#79628)
  Remove endpoint for freezing indices (elastic#78918)
  [ML] add timeout parameter for DELETE trained_models API (elastic#79739)
  [ML] wait for .ml-state-write alias to be readable (elastic#79731)
  [Docs] Update edgengram-tokenizer.asciidoc (elastic#79577)
  [Test][Transform] fix UpdateTransformActionRequestTests failure (elastic#79787)
  Limit CS Update Task Description Size (elastic#79443)
  Apply the reader wrapper on can_match source (elastic#78988)
  [DOCS] Adds new transform limitation item and a note to the tutorial (elastic#79479)
  ...

# Conflicts:
#	server/src/main/java/org/elasticsearch/index/IndexMode.java
#	server/src/test/java/org/elasticsearch/index/TimeSeriesModeTests.java
lockewritesdocs pushed a commit to lockewritesdocs/elasticsearch that referenced this pull request Oct 28, 2021
Allows listing repositories with snapshots down to ES 5.0. This does not mean that these snapshots can be
restored, just that you can inspect the metadata of older repositories and list their snapshots.

Note that this already worked (except for /_status), but was untested.
@ywelsch ywelsch mentioned this pull request Dec 1, 2021
32 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Distributed/Snapshot/Restore Anything directly related to the `_snapshot/*` APIs >enhancement Team:Distributed Meta label for distributed team v8.0.0-beta1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants