[Bug]: Regression: spannerio RESOURCE_EXHAUSTED: No session available in the pool #32697
Closed
1 of 17 tasks
Labels
Milestone
What happened?
#31663 introduced a regression in Dataflow for streaming pipelines using spannerIO
Spanner has a max number of 400 sessions in a session pool, where a session is used for a read or a write operation.
When using streaming pipelines on Dataflow with a high degree of parallelisation, where each work item can be both reading from and writing to spanner, Dataflow will have up to 300 threads per worker, which potentially means 300 simultaneous read sessions, and 300 simultaneous downstream writes.
In some scenarios, this can lead to session pool exhaustion, followed by a worker failing due to this flag with the following stack trace:
reverted in #32694
Issue Priority
Priority: 2 (default / most bugs should be filed as P2)
Issue Components
The text was updated successfully, but these errors were encountered: