GoogleCloudPlatform / cloud-spanner-emulator

An open source emulator for Cloud Spanner.
Apache License 2.0
272 stars 45 forks source link

Issue with releasing connections on updating interleaved/non-interleaved table with generated column. #40

Open gurpreetkh opened 3 years ago

gurpreetkh commented 3 years ago

We have a simple DB use case where we perform 2 operations:

  1. A read operation and
  2. An update operation using partitionedDML on a table with a generated column. This table is interleaved under a parent table. On updating the table, it appears that the spanner connection is not released in time, causing a context deadline exceeded error.

You can find a sample working stub here with a README that explains this issue in greater detail and directions to execute the code.

The issue is intermittent but is reproducible most of the time.

gauravpurohit06 commented 1 year ago

Thanks @gurpreetkh for filing the request. We are tracking the bug with the internal development team and will get back with the timelines.