tookInMillis is not serialized over network for bulk response
This commit is contained in:
parent
6c21c30f31
commit
c7e73e4558
|
@ -119,6 +119,7 @@ public class BulkResponse implements ActionResponse, Iterable<BulkItemResponse>
|
||||||
for (int i = 0; i < responses.length; i++) {
|
for (int i = 0; i < responses.length; i++) {
|
||||||
responses[i] = BulkItemResponse.readBulkItem(in);
|
responses[i] = BulkItemResponse.readBulkItem(in);
|
||||||
}
|
}
|
||||||
|
tookInMillis = in.readVLong();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override public void writeTo(StreamOutput out) throws IOException {
|
@Override public void writeTo(StreamOutput out) throws IOException {
|
||||||
|
@ -126,5 +127,6 @@ public class BulkResponse implements ActionResponse, Iterable<BulkItemResponse>
|
||||||
for (BulkItemResponse response : responses) {
|
for (BulkItemResponse response : responses) {
|
||||||
response.writeTo(out);
|
response.writeTo(out);
|
||||||
}
|
}
|
||||||
|
out.writeVLong(tookInMillis);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue