From f41d6a407103cd144509f5dda221affe4025d584 Mon Sep 17 00:00:00 2001
From: Nicholas Walter Knize <nknize@apache.org>
Date: Mon, 21 Mar 2022 23:48:27 -0500
Subject: [PATCH] [2.x] Bump Version 2.0 to 2.1

Signed-off-by: Nicholas Walter Knize <nknize@apache.org>
---
 .ci/bwcVersions                                  | 1 +
 buildSrc/version.properties                      | 2 +-
 server/src/main/java/org/opensearch/Version.java | 3 ++-
 3 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/.ci/bwcVersions b/.ci/bwcVersions
index ddc36af48d674..e012f178ea5b8 100644
--- a/.ci/bwcVersions
+++ b/.ci/bwcVersions
@@ -39,3 +39,4 @@ BWC_VERSION:
   - "1.3.0"
   - "1.3.1"
   - "1.4.0"
+  - "2.0.0"
diff --git a/buildSrc/version.properties b/buildSrc/version.properties
index b5e14cd24bd93..c745e5bfc2eb1 100644
--- a/buildSrc/version.properties
+++ b/buildSrc/version.properties
@@ -1,4 +1,4 @@
-opensearch        = 2.0.0
+opensearch        = 2.1.0
 lucene            = 9.1.0-snapshot-ea989fe8f30
 
 bundled_jdk_vendor = adoptium
diff --git a/server/src/main/java/org/opensearch/Version.java b/server/src/main/java/org/opensearch/Version.java
index f74e529c442bb..ac4df5986917a 100644
--- a/server/src/main/java/org/opensearch/Version.java
+++ b/server/src/main/java/org/opensearch/Version.java
@@ -82,7 +82,8 @@ public class Version implements Comparable<Version>, ToXContentFragment {
     public static final Version V_1_3_1 = new Version(1030199, org.apache.lucene.util.Version.LUCENE_8_10_1);
     public static final Version V_1_4_0 = new Version(1040099, org.apache.lucene.util.Version.LUCENE_8_10_1);
     public static final Version V_2_0_0 = new Version(2000099, org.apache.lucene.util.Version.LUCENE_9_1_0);
-    public static final Version CURRENT = V_2_0_0;
+    public static final Version V_2_1_0 = new Version(2010099, org.apache.lucene.util.Version.LUCENE_9_1_0);
+    public static final Version CURRENT = V_2_1_0;
 
     public static Version readVersion(StreamInput in) throws IOException {
         return fromId(in.readVInt());