Skip to content

Conversation

@cbuescher
Copy link
Member

As a follow up to #38795 this PR removes a lot of special case handling that was necessary
for full cluster restart checks going from 6.x to 7.x clusters but are not required anymore going
from 7 to 8.

@cbuescher cbuescher added >test Issues or PRs that are addressing/adding tests :Search Foundations/Mapping Index mappings, including merging and defining field types v8.0.0 labels Feb 13, 2019
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-search

Copy link
Contributor

@jtibshirani jtibshirani left a comment

Choose a reason for hiding this comment

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

I noticed some other changes that fit with the goal of adapting the test for 8.0. I think it would be good to do all the updates in one PR, if that makes sense to you as well.

  • We can remove type here, because all the calls in this method are now typeless.
  • We can remove all instances of expectWarnings and allowTypesRemovalWarnings, along with associated version checks.
  • I think we can remove isTypeInTemplateResponse, and the associated check.
  • We no longer need the special check in extractTotalHits.

@cbuescher
Copy link
Member Author

@jtibshirani thanks for the review, I agree with you to remove the deprecation warnings etc... and pushed some follow up commits for this

@cbuescher
Copy link
Member Author

cbuescher commented Feb 14, 2019

As a note, I think the commit I merged in has bwc tests temporarily disabled (#38687), so I'm planning to run tests again after merging in master once again when bwc tests are enabled again.

Copy link
Contributor

@jtibshirani jtibshirani left a comment

Choose a reason for hiding this comment

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

This looks good to me, assuming the BWC tests pass!

@cbuescher cbuescher merged commit aca1521 into elastic:master Feb 15, 2019
jasontedor added a commit to jasontedor/elasticsearch that referenced this pull request Feb 15, 2019
* elastic/master:
  Avoid double term construction in DfsPhase (elastic#38716)
  Fix typo in DateRange docs (yyy → yyyy) (elastic#38883)
  Introduced class reuses follow parameter code between ShardFollowTasks (elastic#38910)
  Ensure random timestamps are within search boundary (elastic#38753)
  [CI] Muting  method testFollowIndex in IndexFollowingIT
  Update Lucene snapshot repo for 7.0.0-beta1 (elastic#38946)
  SQL: Doc on syntax (identifiers in particular) (elastic#38662)
  Upgrade to Gradle 5.2.1 (elastic#38880)
  Tie break search shard iterator comparisons on cluster alias (elastic#38853)
  Also mmap cfs files for hybridfs (elastic#38940)
  Build: Fix issue with test status logging (elastic#38799)
  Adapt FullClusterRestartIT on master (elastic#38856)
  Fix testAutoFollowing test to use createLeaderIndex() helper method.
  Migrate muted auto follow rolling upgrade test and unmute this test (elastic#38900)
  ShardBulkAction ignore primary response on primary (elastic#38901)
  Recover peers from translog, ignoring soft deletes (elastic#38904)
  Fix NPE on Stale Index in IndicesService (elastic#38891)
  Smarter CCR concurrent file chunk fetching (elastic#38841)
  Fix intermittent failure in ApiKeyIntegTests (elastic#38627)
  re-enable SmokeTestWatcherWithSecurityIT (elastic#38814)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Search Foundations/Mapping Index mappings, including merging and defining field types >test Issues or PRs that are addressing/adding tests v8.0.0-alpha1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants