Skip to content

Commit

Permalink
Add logs to find the issue at root
Browse files Browse the repository at this point in the history
  • Loading branch information
sakthivelmanii committed Jan 6, 2025
1 parent 4072c7c commit 22149da
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
import com.google.common.base.Stopwatch;
import com.google.common.util.concurrent.MoreExecutors;
import com.google.protobuf.ListValue;
import com.google.spanner.v1.DeleteSessionRequest;
import com.google.spanner.v1.ResultSetMetadata;
import com.google.spanner.v1.StructType;
import com.google.spanner.v1.StructType.Field;
Expand Down Expand Up @@ -269,6 +270,7 @@ private static void invalidateSessionPool(DatabaseClient client, int minSessions
spannerClient.listSessions("projects/[PROJECT]/instances/[INSTANCE]/databases/[DATABASE]");
for (com.google.spanner.v1.Session session : response.iterateAll()) {
spannerClient.deleteSession(session.getName());
mockSpanner.doDeleteSession(session);
}
}

Expand Down

0 comments on commit 22149da

Please sign in to comment.