We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d0c3b8e commit 6e65c3eCopy full SHA for 6e65c3e
google-cloud-spanner/src/main/java/com/google/cloud/spanner/SessionImpl.java
@@ -596,6 +596,9 @@ public XGoogSpannerRequestId.RequestIdCreator getRequestIdCreator() {
596
}
597
598
int getChannel() {
599
+ if (getIsMultiplexed()) {
600
+ return 0;
601
+ }
602
Long channelHint = (Long) this.getOptions().get(SpannerRpc.Option.CHANNEL_HINT);
603
return (int) (channelHint % this.spanner.getOptions().getNumChannels());
604
0 commit comments