Adjust PreSyncedFlushResponse bwc versions
We discussed and agreed to include the synced-flush change in 6.3.0+ but not in 5.6.9. We will re-evaluate the urgency and importance of the issue then decide which versions that the change should be included.
This commit is contained in:
parent
f8830b7b43
commit
7d44d75774
|
@ -561,11 +561,14 @@ public class SyncedFlushService extends AbstractComponent implements IndexEventL
|
||||||
}
|
}
|
||||||
|
|
||||||
boolean includeNumDocs(Version version) {
|
boolean includeNumDocs(Version version) {
|
||||||
return version.onOrAfter(Version.V_5_6_8);
|
if (version.major == Version.V_5_6_8.major) {
|
||||||
|
return version.onOrAfter(Version.V_5_6_8);
|
||||||
|
}
|
||||||
|
return version.onOrAfter(Version.V_6_2_2);
|
||||||
}
|
}
|
||||||
|
|
||||||
boolean includeExistingSyncId(Version version) {
|
boolean includeExistingSyncId(Version version) {
|
||||||
return version.onOrAfter(Version.V_5_6_9);
|
return version.onOrAfter(Version.V_6_3_0);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in New Issue