We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7508528 commit d16a15aCopy full SHA for d16a15a
src/query/service/src/api/rpc/packets/packet_data.rs
@@ -56,6 +56,11 @@ pub enum DataPacket {
56
progress: Vec<ProgressInfo>,
57
precommit: Vec<PrecommitBlock>,
58
},
59
+ // NOTE: Unknown reason. This may be tonic's bug.
60
+ // when we use two-way streaming grpc for data exchange,
61
+ // if the client side is closed and the server side reads data immediately.
62
+ // we will get a broken pipe or connect reset error.
63
+ // we use the ClosingClient to notify the server side to close the connection for avoid errors.
64
ClosingClient,
65
}
66
0 commit comments