File tree 1 file changed +7
-3
lines changed
query/src/main/java/tech/ydb/query/impl
1 file changed +7
-3
lines changed 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