Backport - Do not renew sync-id PR to 5.6 and 6.3

Relates ##29103
This commit is contained in:
Nhat Nguyen 2018-03-17 11:38:22 -04:00
parent cd165d1c4b
commit c9749180a1
1 changed files with 5 additions and 1 deletions

View File

@ -569,7 +569,11 @@ public class SyncedFlushService extends AbstractComponent implements IndexEventL
}
boolean includeExistingSyncId(Version version) {
return version.onOrAfter(Version.V_7_0_0_alpha1);
if (version.major == Version.V_5_6_9.major) {
return version.onOrAfter(Version.V_5_6_9);
} else {
return version.onOrAfter(Version.V_6_3_0);
}
}
@Override