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

Remove leftover code from one shard by default #42374

Merged
merged 2 commits into from
May 23, 2019

Conversation

jasontedor
Copy link
Member

@jasontedor jasontedor commented May 22, 2019

We had some logic to determine the number of shards, it was based on the index version created. Now that master would only ever see index versions created >= 7.0.0, this logic is no longer needed. This commit removes this dead code.

Relates #38556

We had some logic to determine the number of shards, it was based on the
index version created. Now that master would only ever see index
versions created >= 7.0.0, this logic is no longer needed. This commit
removes this dead code.
@jasontedor jasontedor added >non-issue :Core/Infra/Core Core issues without another label v8.0.0 labels May 22, 2019
@jasontedor jasontedor requested a review from rjernst May 22, 2019 16:44
@jasontedor
Copy link
Member Author

@elasticmachine test this please

@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-infra

Copy link
Member

@rjernst rjernst left a comment

Choose a reason for hiding this comment

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

LGTM

* elastic/master:
  Make packer cache branches explicit (elastic#41990)
  Re-mute all ml_datafeed_crud rolling upgrade tests
  Ensure testAckedIndexing uses disruption index settings
  add 7_3 as version (elastic#42368)
  Fix grammar problem in stemming reference. (elastic#42148)
@jasontedor
Copy link
Member Author

@elasticmachine run elasticsearch-ci/2

@jasontedor
Copy link
Member Author

@elasticmachine run elasticsearch-ci/1

1 similar comment
@jasontedor
Copy link
Member Author

@elasticmachine run elasticsearch-ci/1

@jasontedor jasontedor merged commit 733e589 into elastic:master May 23, 2019
@jasontedor jasontedor deleted the one-shard-leftover branch May 23, 2019 15:05
gurkankaymak pushed a commit to gurkankaymak/elasticsearch that referenced this pull request May 27, 2019
We had some logic to determine the number of shards, it was based on the
index version created. Now that master would only ever see index
versions created >= 7.0.0, this logic is no longer needed. This commit
removes this dead code.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Core/Infra/Core Core issues without another label >non-issue v8.0.0-alpha1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants