Internal: fixed wrong version check s/onOrBefore/before in TransportShardSingleOperationAction
relates to #7223
This commit is contained in:
parent
f4a7793f89
commit
084793fca7
|
@ -326,7 +326,7 @@ public abstract class TransportShardSingleOperationAction<Request extends Single
|
|||
@Override
|
||||
public void writeTo(StreamOutput out) throws IOException {
|
||||
super.writeTo(out);
|
||||
if (out.getVersion().onOrBefore(Version.V_1_4_0)) {
|
||||
if (out.getVersion().before(Version.V_1_4_0)) {
|
||||
//older nodes expect the concrete index as part of the request
|
||||
request.index(shardId.getIndex());
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue