Skip to content

Commit 8398f1d

Browse files
Add runner logs
1 parent 3d65bca commit 8398f1d

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

google-cloud-spanner/src/main/java/com/google/cloud/spanner/AbstractReadContext.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -924,6 +924,7 @@ ResultSet readInternalWithOptions(
924924
Iterable<String> columns,
925925
final Options readOptions,
926926
ByteString partitionToken) {
927+
System.out.println("readInternalWithOptions");
927928
beforeReadOrQuery();
928929
final ReadRequest.Builder builder =
929930
ReadRequest.newBuilder()
@@ -991,6 +992,7 @@ CloseableIterator<PartialResultSet> startStream(
991992
getTransactionChannelHint(),
992993
isRouteToLeader());
993994
session.markUsed(clock.instant());
995+
System.out.println("startStream");
994996
stream.setCall(call, /* withBeginTransaction = */ builder.getTransaction().hasBegin());
995997
call.request(prefetchChunks);
996998
return stream;

google-cloud-spanner/src/main/java/com/google/cloud/spanner/ResumableStreamIterator.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -325,6 +325,7 @@ private void startGrpcStreaming() {
325325
try (IScope scope = tracer.withSpan(span)) {
326326
// When start a new stream set the Span as current to make the gRPC Span a child of
327327
// this Span.
328+
System.out.println("startGrpcStreaming");
328329
stream = checkNotNull(startStream(resumeToken, streamMessageListener));
329330
}
330331
}

0 commit comments

Comments
 (0)