File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
server/src/main/java/org/elasticsearch/action/admin/cluster/snapshots/get Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -55,6 +55,8 @@ public GetSnapshotsResponse(
5555
5656 public GetSnapshotsResponse (StreamInput in ) throws IOException {
5757 this .snapshots = in .readCollectionAsImmutableList (SnapshotInfo ::readFrom );
58+ // TODO Skip when we have V9 in TransportVersions
59+ in .readMap (StreamInput ::readException );
5860 this .next = in .readOptionalString ();
5961 this .total = in .readVInt ();
6062 this .remaining = in .readVInt ();
@@ -85,6 +87,8 @@ public int remaining() {
8587 @ Override
8688 public void writeTo (StreamOutput out ) throws IOException {
8789 out .writeCollection (snapshots );
90+ // TODO Skip when we have V9 in TransportVersions
91+ out .writeMap (Map .of (), StreamOutput ::writeException );
8892 out .writeOptionalString (next );
8993 out .writeVInt (total );
9094 out .writeVInt (remaining );
You can’t perform that action at this time.
0 commit comments