session pool memory leak #1655
Labels
api: spanner
Issues related to the googleapis/nodejs-spanner API.
priority: p2
Moderately-important priority. Fix may not be included in next release.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Environment
@google-cloud/spanner
version: 6.0.0Detail
I had investigated a memory leak in a project and found that the leak seems to be in the
_getSession
mehod of this client library.Then I found that calling Promise.race with a long pending promise may lead to a memory leak. Please see here for details: nodejs/node#17469
I have tried to fix and verify this memory leak in the forked repository:
AAAhs@0554408
The text was updated successfully, but these errors were encountered: