Skip to content

Commit

Permalink
Adjust IndexMetadata serialization version (#60988)
Browse files Browse the repository at this point in the history
This change adjusts the IndexMetadata serialization version for the
system index flag after the backport of #57936. Additionally, bwc tests
have been reenabled.
  • Loading branch information
jaymode committed Aug 11, 2020
1 parent 766177f commit 20ed7d7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -174,8 +174,8 @@ tasks.register("verifyVersions") {
* after the backport of the backcompat code is complete.
*/

boolean bwc_tests_enabled = false
final String bwc_tests_disabled_issue = "https://github.com/elastic/elasticsearch/pull/57936" /* place a PR link here when committing bwc changes */
boolean bwc_tests_enabled = true
final String bwc_tests_disabled_issue = "" /* place a PR link here when committing bwc changes */
if (bwc_tests_enabled == false) {
if (bwc_tests_disabled_issue.isEmpty()) {
throw new GradleException("bwc_tests_disabled_issue must be set when bwc_tests_enabled == false")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ public static APIBlock readFrom(StreamInput input) throws IOException {

public static final String INDEX_STATE_FILE_PREFIX = "state-";

static final Version SYSTEM_INDEX_FLAG_ADDED = Version.V_8_0_0;
static final Version SYSTEM_INDEX_FLAG_ADDED = Version.V_7_10_0;

private final int routingNumShards;
private final int routingFactor;
Expand Down

0 comments on commit 20ed7d7

Please sign in to comment.