Skip to content

Commit

Permalink
Remove @UpdateForV9 from RepositoryConflictException
Browse files Browse the repository at this point in the history
#122730 added checks in 9.1.0 that `backwardCompatibleMessage` won't be serialized
  • Loading branch information
arteam authored Feb 17, 2025
1 parent 0dfe5d1 commit 82484cb
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,12 @@ public RestStatus status() {
return RestStatus.CONFLICT;
}

@UpdateForV9(owner = UpdateForV9.Owner.DISTRIBUTED_COORDINATION) // drop unneeded string from wire format
public RepositoryConflictException(StreamInput in) throws IOException {
super(in);
in.readString();
}

@Override
@UpdateForV9(owner = UpdateForV9.Owner.DISTRIBUTED_COORDINATION) // drop unneeded string from wire format
protected void writeTo(StreamOutput out, Writer<Throwable> nestedExceptionsWriter) throws IOException {
super.writeTo(out, nestedExceptionsWriter);
out.writeString("");
Expand Down

0 comments on commit 82484cb

Please sign in to comment.