File tree 2 files changed +8
-4
lines changed
core/src/main/java/tech/ydb/core/impl/call
query/src/main/java/tech/ydb/query/impl
2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -114,7 +114,7 @@ public void onMessage(RespT message) {
114
114
@ Override
115
115
public void onClose (io .grpc .Status status , @ Nullable Metadata trailers ) {
116
116
if (logger .isTraceEnabled ()) {
117
- logger .trace ("ReadStreamCall[{}] closed with status {}" , status );
117
+ logger .trace ("ReadStreamCall[{}] closed with status {}" , traceId , status );
118
118
}
119
119
120
120
statusConsumer .accept (status , trailers );
Original file line number Diff line number Diff line change @@ -275,12 +275,16 @@ public CompletableFuture<Result<QueryInfo>> execute(PartsHandler handler) {
275
275
handleTxMeta (msg .getTxMeta ());
276
276
}
277
277
if (issues .length > 0 ) {
278
- handler .onIssues (issues );
278
+ if (handler != null ) {
279
+ handler .onIssues (issues );
280
+ } else {
281
+ logger .trace ("{} lost issues message" , SessionImpl .this );
282
+ }
279
283
}
280
284
if (msg .hasExecStats ()) {
281
285
QueryStats old = stats .getAndSet (new QueryStats (msg .getExecStats ()));
282
286
if (old != null ) {
283
- logger .warn ("{} got lost previous exec stats {}" , SessionImpl .this , old );
287
+ logger .warn ("{} lost previous exec stats {}" , SessionImpl .this , old );
284
288
}
285
289
}
286
290
@@ -289,7 +293,7 @@ public CompletableFuture<Result<QueryInfo>> execute(PartsHandler handler) {
289
293
if (handler != null ) {
290
294
handler .onNextPart (new QueryResultPart (index , msg .getResultSet ()));
291
295
} else {
292
- logger .warn ("{} got lost result set part with index {}" , SessionImpl .this , index );
296
+ logger .trace ("{} lost result set part with index {}" , SessionImpl .this , index );
293
297
}
294
298
}
295
299
}).whenComplete ((status , th ) -> {
You can’t perform that action at this time.
0 commit comments