Skip to content

Bump version to 6.0.1 on the 6.0 branch#27386

Merged
DaveCTurner merged 7 commits intoelastic:6.0from
DaveCTurner:bump-version-6.0
Nov 15, 2017
Merged

Bump version to 6.0.1 on the 6.0 branch#27386
DaveCTurner merged 7 commits intoelastic:6.0from
DaveCTurner:bump-version-6.0

Conversation

@DaveCTurner
Copy link
Copy Markdown
Member

Making this a PR rather than just a straight push because I've had to change the version calculation logic and would like reviews first.

@DaveCTurner DaveCTurner changed the title Bump version to 6.0 Bump version to 6.0.1 Nov 14, 2017
@DaveCTurner
Copy link
Copy Markdown
Member Author

The build fails with this:

16:44:27 Resource missing. [HTTP GET: https://repo1.maven.org/maven2/org/elasticsearch/distribution/zip/elasticsearch/5.6.5-SNAPSHOT/maven-metadata.xml]
16:44:27 Resource missing. [HTTP GET: https://repo1.maven.org/maven2/org/elasticsearch/distribution/zip/elasticsearch/5.6.5-SNAPSHOT/elasticsearch-5.6.5-SNAPSHOT.pom]
16:44:27 Resource missing. [HTTP HEAD: https://repo1.maven.org/maven2/org/elasticsearch/distribution/zip/elasticsearch/5.6.5-SNAPSHOT/elasticsearch-5.6.5-SNAPSHOT.zip]

It looks like it's (erroneously) trying to get 5.6.5-SNAPSHOT from maven rather than checking it out and building it locally. I do not (yet) know where the code to do this is. Hints appreciated.

…ot but [-1] is not.

I think this is the first time that's occurred, so this should not affect any earlier cases.
@DaveCTurner DaveCTurner changed the title Bump version to 6.0.1 Bump version to 6.0.1 on the 6.0 branch Nov 15, 2017
This commit adjusts the assertions for the sequence number BWC tests to
account for the fact that sometimes these tests are run in
mixed-clusters with 5.6 nodes (that do not understand sequence numbers),
and sometimes these tests are run in mixed-cluster with 6.0+ nodes (that
all understood sequence numbers).

Relates elastic#27251
Copy link
Copy Markdown
Member

@jasontedor jasontedor left a comment

Choose a reason for hiding this comment

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

LGTM.

/* This is a terrible hack for the bump to 6.0.1 which needs properly fixing at a later date */
ext.projectSubstitutions["org.elasticsearch.distribution.deb:elasticsearch:${indexCompatVersions[-2]}"] = ':distribution:bwc-release-snapshot'
ext.projectSubstitutions["org.elasticsearch.distribution.rpm:elasticsearch:${indexCompatVersions[-2]}"] = ':distribution:bwc-release-snapshot'
ext.projectSubstitutions["org.elasticsearch.distribution.zip:elasticsearch:${indexCompatVersions[-2]}"] = ':distribution:bwc-release-snapshot'
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I discussed this with @DaveCTurner; this hack will be temporary until we can revisit the BWC logic which he will do in a separate issue. Given this, I'm fine with this hack going in temporarily so that we can execute this version bump.

This reverts commit 1aa406f.

To be re-applied as a separate commit shortly.
@DaveCTurner DaveCTurner merged commit db56f11 into elastic:6.0 Nov 15, 2017
DaveCTurner added a commit to DaveCTurner/elasticsearch that referenced this pull request Nov 15, 2017
An attempt to bump to 6.0.1 on the 6.0 branch exposed up a handful of issues that this commit fixes. One of those fixes is a terrible hack that will be fixed more thoroughly in elastic#27397, and another is a back port of d5e56c5 which is related to elastic#27251.
@DaveCTurner DaveCTurner deleted the bump-version-6.0 branch October 5, 2018 07:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants