Add version 5.0.3
This commit adds version 5.0.3 and the BWC indices for version 5.0.2. Relates #21867
This commit is contained in:
parent
404b42ee95
commit
b6ba4ae34b
|
@ -721,8 +721,7 @@ public class ElasticsearchException extends RuntimeException implements ToXConte
|
|||
TASK_CANCELLED_EXCEPTION(org.elasticsearch.tasks.TaskCancelledException.class,
|
||||
org.elasticsearch.tasks.TaskCancelledException::new, 146, Version.V_5_1_0_UNRELEASED),
|
||||
SHARD_LOCK_OBTAIN_FAILED_EXCEPTION(org.elasticsearch.env.ShardLockObtainFailedException.class,
|
||||
org.elasticsearch.env.ShardLockObtainFailedException::new, 147, Version.V_5_0_2_UNRELEASED);
|
||||
|
||||
org.elasticsearch.env.ShardLockObtainFailedException::new, 147, Version.V_5_0_2);
|
||||
|
||||
final Class<? extends ElasticsearchException> exceptionClass;
|
||||
final FunctionThatThrowsIOException<StreamInput, ? extends ElasticsearchException> constructor;
|
||||
|
|
|
@ -95,10 +95,10 @@ public class Version {
|
|||
public static final Version V_5_0_0 = new Version(V_5_0_0_ID, org.apache.lucene.util.Version.LUCENE_6_2_0);
|
||||
public static final int V_5_0_1_ID = 5000199;
|
||||
public static final Version V_5_0_1 = new Version(V_5_0_1_ID, org.apache.lucene.util.Version.LUCENE_6_2_1);
|
||||
public static final int V_5_0_2_ID_UNRELEASED = 5000299;
|
||||
public static final Version V_5_0_2_UNRELEASED = new Version(V_5_0_2_ID_UNRELEASED, org.apache.lucene.util.Version.LUCENE_6_2_1);
|
||||
public static final int V_5_0_2_ID = 5000299;
|
||||
public static final Version V_5_0_2 = new Version(V_5_0_2_ID, org.apache.lucene.util.Version.LUCENE_6_2_1);
|
||||
public static final int V_5_0_3_ID_UNRELEASED = 5000399;
|
||||
public static final Version V_5_0_3_UNRELEASED = new Version(V_5_0_3_ID_UNRELEASED, org.apache.lucene.util.Version.LUCENE_6_2_1);
|
||||
public static final Version V_5_0_3_UNRELEASED = new Version(V_5_0_3_ID_UNRELEASED, org.apache.lucene.util.Version.LUCENE_6_3_0);
|
||||
public static final int V_5_1_0_ID_UNRELEASED = 5010099;
|
||||
public static final Version V_5_1_0_UNRELEASED = new Version(V_5_1_0_ID_UNRELEASED, org.apache.lucene.util.Version.LUCENE_6_3_0);
|
||||
public static final int V_5_2_0_ID_UNRELEASED = 5020099;
|
||||
|
@ -129,8 +129,8 @@ public class Version {
|
|||
return V_5_1_0_UNRELEASED;
|
||||
case V_5_0_3_ID_UNRELEASED:
|
||||
return V_5_0_3_UNRELEASED;
|
||||
case V_5_0_2_ID_UNRELEASED:
|
||||
return V_5_0_2_UNRELEASED;
|
||||
case V_5_0_2_ID:
|
||||
return V_5_0_2;
|
||||
case V_5_0_1_ID:
|
||||
return V_5_0_1;
|
||||
case V_5_0_0_ID:
|
||||
|
|
|
@ -840,11 +840,9 @@ public class ExceptionSerializationTests extends ESTestCase {
|
|||
public void testShardLockObtainFailedException() throws IOException {
|
||||
ShardId shardId = new ShardId("foo", "_na_", 1);
|
||||
ShardLockObtainFailedException orig = new ShardLockObtainFailedException(shardId, "boom");
|
||||
Version version = VersionUtils.randomVersionBetween(random(),
|
||||
Version.V_5_0_0, Version.CURRENT);
|
||||
if (version.before(Version.V_5_0_2_UNRELEASED)) {
|
||||
// remove this once 5_0_2 is released randomVersionBetween asserts that this version is in the constant table..
|
||||
version = Version.V_5_0_2_UNRELEASED;
|
||||
Version version = VersionUtils.randomVersionBetween(random(), Version.V_5_0_0, Version.CURRENT);
|
||||
if (version.before(Version.V_5_0_2)) {
|
||||
version = Version.V_5_0_2;
|
||||
}
|
||||
ShardLockObtainFailedException ex = serialize(orig, version);
|
||||
assertEquals(orig.getMessage(), ex.getMessage());
|
||||
|
|
Binary file not shown.
Binary file not shown.
|
@ -1 +0,0 @@
|
|||
5f01da7306363fad2028b916f3eab926262de928
|
|
@ -1,2 +1,3 @@
|
|||
5.0.0
|
||||
5.0.1
|
||||
5.0.2
|
||||
|
|
Loading…
Reference in New Issue