Skip to content

Commit

Permalink
reserve a new transportversion in order to change wire serialization …
Browse files Browse the repository at this point in the history
…on a

autoscaling API for the serverless project
  • Loading branch information
hendrikmuhs committed Aug 17, 2023
1 parent af071cc commit be451c2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion server/src/main/java/org/elasticsearch/TransportVersion.java
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@ private static TransportVersion registerTransportVersion(int id, String uniqueId
// 8.10.0 release version is:
public static final TransportVersion V_8_500_061 = registerTransportVersion(8_500_061, "4e07f830-8be4-448c-851e-62b3d2f0bf0a");
public static final TransportVersion V_8_500_062 = registerTransportVersion(8_500_062, "09CD9C9B-3207-4B40-8756-B7A12001A885");
public static final TransportVersion V_8_500_062 = registerTransportVersion(8_500_063, "31dedced-0055-4f34-b952-2f6919be7488");
/*
* STOP! READ THIS FIRST! No, really,
* ____ _____ ___ ____ _ ____ _____ _ ____ _____ _ _ ___ ____ _____ ___ ____ ____ _____ _
Expand All @@ -198,7 +199,7 @@ private static TransportVersion registerTransportVersion(int id, String uniqueId
*/

private static class CurrentHolder {
private static final TransportVersion CURRENT = findCurrent(V_8_500_062);
private static final TransportVersion CURRENT = findCurrent(V_8_500_063);

// finds the pluggable current version, or uses the given fallback
private static TransportVersion findCurrent(TransportVersion fallback) {
Expand Down

0 comments on commit be451c2

Please sign in to comment.