mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-25 06:16:40 +00:00
parent
65732d707f
commit
68bc178017
@ -159,8 +159,8 @@ task verifyVersions {
|
||||
* the enabled state of every bwc task. It should be set back to true
|
||||
* after the backport of the backcompat code is complete.
|
||||
*/
|
||||
boolean bwc_tests_enabled = true
|
||||
final String bwc_tests_disabled_issue = "" /* place a PR link here when committing bwc changes */
|
||||
boolean bwc_tests_enabled = false
|
||||
final String bwc_tests_disabled_issue = "https://github.com/elastic/elasticsearch/pull/39550" /* 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")
|
||||
|
@ -446,7 +446,7 @@ public class SnapshotsInProgress extends AbstractNamedDiffable<Custom> implement
|
||||
}
|
||||
long repositoryStateId = in.readLong();
|
||||
final String failure;
|
||||
if (in.getVersion().onOrAfter(Version.V_7_0_0)) {
|
||||
if (in.getVersion().onOrAfter(Version.V_6_7_0)) {
|
||||
failure = in.readOptionalString();
|
||||
} else {
|
||||
failure = null;
|
||||
@ -488,7 +488,7 @@ public class SnapshotsInProgress extends AbstractNamedDiffable<Custom> implement
|
||||
}
|
||||
}
|
||||
out.writeLong(entry.repositoryStateId);
|
||||
if (out.getVersion().onOrAfter(Version.V_7_0_0)) {
|
||||
if (out.getVersion().onOrAfter(Version.V_6_7_0)) {
|
||||
out.writeOptionalString(entry.failure);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user