Skip to content

Commit

Permalink
fix: completed status overrided by fail-fast stream (#201)
Browse files Browse the repository at this point in the history
fix: fix status overrided by fail-fast stream
  • Loading branch information
mattisonchao authored Jan 16, 2025
1 parent 7087880 commit cf1f5ea
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@ public final class WriteStreamWrapper implements StreamObserver<WriteResponse> {
private volatile Throwable completedException;

public WriteStreamWrapper(OxiaClientGrpc.OxiaClientStub stub) {
this.clientStream = stub.writeStream(this);
this.pendingWrites = new ArrayDeque<>();
this.completed = false;
this.completedException = null;
this.clientStream = stub.writeStream(this);
}

public boolean isValid() {
Expand Down

0 comments on commit cf1f5ea

Please sign in to comment.