-
Notifications
You must be signed in to change notification settings - Fork 68
Closed
Labels
priority: p2Moderately-important priority. Fix may not be included in next release.Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Description
Spanner Client library is trying to use canUseDirectPath from the GapicSpannerRPC class
This method is always returning false
irrespective of the DirectPath is enabled or not.
It is because of the needsCredentials which always returns "true" as credentials are always null.
Same method is working for gax because the credentials are set in ClientContext before the transportChannel is created.
However for Spanner library there is no way to use the canUseDirectPath
method as the actual channel provider never gets updated.
Metadata
Metadata
Assignees
Labels
priority: p2Moderately-important priority. Fix may not be included in next release.Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.