Skip to content

Conversation

@nik9000
Copy link
Member

@nik9000 nik9000 commented Jun 19, 2017

Ports all of RepositoryUpgradabilityIT to qa:full-cluster-restart and ports as much of RestoreBackwardsCompatIT as possible into qa:full-cluster-restart.

@nik9000 nik9000 added review >test Issues or PRs that are addressing/adding tests v6.0.0 labels Jun 19, 2017
@nik9000 nik9000 requested a review from martijnvg June 19, 2017 16:18
@nik9000 nik9000 removed the review label Jun 19, 2017
@nik9000
Copy link
Member Author

nik9000 commented Jun 19, 2017

Still having to do some cleanup for pre-5.5 indices.

@nik9000 nik9000 added the review label Jun 19, 2017
@nik9000
Copy link
Member Author

nik9000 commented Jun 19, 2017

Ok. I fixed this for pre-5.5 versions.

Copy link
Member

@martijnvg martijnvg left a comment

Choose a reason for hiding this comment

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

LGTM. Left one nit.

Map<String, Object> expected = new HashMap<>();
expected.put("transient", emptyMap());
expected.put("persistent", singletonMap("cluster.routing.allocation.exclude.test_attr", oldClusterVersion.toString()));
if (false == expected.equals(map)) {
Copy link
Member

Choose a reason for hiding this comment

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

maybe reverse this check? (expected.equals(map) == false)

@nik9000 nik9000 merged commit 4bbb7e8 into elastic:master Jun 21, 2017
@nik9000
Copy link
Member Author

nik9000 commented Jun 21, 2017

Thanks for reviewing @martijnvg!

jasontedor added a commit to jasontedor/elasticsearch that referenced this pull request Jun 22, 2017
* master: (56 commits)
  Initialize max unsafe auto ID timestamp on shrink
  Enable a long translog retention policy by default (elastic#25294)
  Remove `index.mapping.single_type=false` from core/tests (elastic#25331)
  test: single type defaults to true since alpha1 and not alpha3
  Get short path name for native controllers
  Live primary-replica resync (no rollback) (elastic#24841)
  Upgrade to lucene-7.0.0-snapshot-ad2cb77. (elastic#25349)
  percolator: Deprecate `document_type` parameter.
  [DOCS] Fixed typo.
  [rest-api-spec/indices.refresh] Remove old params
  Remove redundant and broken MD5 checksum from repository-s3 (elastic#25270)
  Initialize sequence numbers on a shrunken index
  Port most snapshot/restore static bwc tests to qa:full-cluster-restart (elastic#25296)
  Javadoc: ThreadPool doesn't reject while shutdown (elastic#23678)
  test: verify `size_to_upgrade_in_bytes` in assertBusy(...)
  Docs: Removed duplicated line in mapping docs
  Add backward compatibility indices for 5.4.2
  Update MockTransportService to the age of Transport.Connection (elastic#25320)
  Add version v5.4.2 after release
  IndexMetaData: Add internal format index setting (elastic#25292)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

>test Issues or PRs that are addressing/adding tests v6.0.0-beta1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants