Version bump for 1.1 release (#772)

Bumps the minor to 1.1 for the 1.0 release.

Signed-off-by: Nicholas Walter Knize <nknize@apache.org>
This commit is contained in:
Nick Knize 2021-06-28 09:58:27 -05:00 committed by GitHub
parent 0317b604f6
commit ef1cbd9e3d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 3 deletions

View File

@ -74,3 +74,4 @@ BWC_VERSION:
- "7.10.0"
- "7.10.1"
- "7.10.2"
- "1.0.0"

View File

@ -1,4 +1,4 @@
opensearch = 1.0.0
opensearch = 1.1.0
lucene = 8.8.2
bundled_jdk_vendor = adoptopenjdk

View File

@ -71,7 +71,8 @@ public class Version implements Comparable<Version>, ToXContentFragment {
public static final Version V_EMPTY = new Version(V_EMPTY_ID, org.apache.lucene.util.Version.LATEST);
public static final Version V_1_0_0 = new Version(1000099, org.apache.lucene.util.Version.LUCENE_8_8_2);
public static final Version CURRENT = V_1_0_0;
public static final Version V_1_1_0 = new Version(1010099, org.apache.lucene.util.Version.LUCENE_8_8_2);
public static final Version CURRENT = V_1_1_0;
public static Version readVersion(StreamInput in) throws IOException {
return fromId(in.readVInt());

View File

@ -961,7 +961,7 @@ public abstract class OpenSearchRestTestCase extends OpenSearchTestCase {
requestOptions.setWarningsHandler(warnings -> warnings.equals(esExpectedWarnings) == false);
request.setOptions(requestOptions);
} else if (nodeVersions.stream().anyMatch(version -> version.onOrAfter(LegacyESVersion.V_7_6_0)
&& version.before(Version.V_1_0_0))) {
&& version.before(Version.V_1_0_0))) {
requestOptions.setWarningsHandler(warnings -> warnings.isEmpty() == false && warnings.equals(esExpectedWarnings) == false);
request.setOptions(requestOptions);
}