Skip to content

Commit 82484cb

Browse files
authored
Remove @UpdateForV9 from RepositoryConflictException
#122730 added checks in 9.1.0 that `backwardCompatibleMessage` won't be serialized
1 parent 0dfe5d1 commit 82484cb

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

server/src/main/java/org/elasticsearch/repositories/RepositoryConflictException.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,12 @@ public RestStatus status() {
2929
return RestStatus.CONFLICT;
3030
}
3131

32-
@UpdateForV9(owner = UpdateForV9.Owner.DISTRIBUTED_COORDINATION) // drop unneeded string from wire format
3332
public RepositoryConflictException(StreamInput in) throws IOException {
3433
super(in);
3534
in.readString();
3635
}
3736

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

0 commit comments

Comments
 (0)