kberezin-nshl opened a new issue, #28092:
URL: https://github.com/apache/beam/issues/28092

   ### What would you like to happen?
   
   Google Spanner Emulator currently only supports the execution of one 
transaction at a time ([link to 
source](https://github.com/GoogleCloudPlatform/cloud-spanner-emulator/blob/53eaa404d303fb2dc03f3b444553aa9bb24c3786/common/errors.cc#L453-L455)).
 
   
   That makes it really challenging to do any testing of Dataflow jobs using 
spanner writes. 
   
   `SpannerIO` already retries aborted transactions if they happened during the 
schema change, just by looking at the abort error message 
([here](https://github.com/apache/beam/blob/a46a35b52fc145649312ebfa4801d0784dd807ae/sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/spanner/SpannerIO.java#L2123-L2151)),
 which seems like a suitable place to also check if message comes from Emulator 
complaining about concurrent transactions
   
   ### Issue Priority
   
   Priority: 2 (default / most feature requests should be filed as P2)
   
   ### Issue Components
   
   - [ ] Component: Python SDK
   - [X] Component: Java SDK
   - [ ] Component: Go SDK
   - [ ] Component: Typescript SDK
   - [ ] Component: IO connector
   - [ ] Component: Beam examples
   - [ ] Component: Beam playground
   - [ ] Component: Beam katas
   - [ ] Component: Website
   - [ ] Component: Spark Runner
   - [ ] Component: Flink Runner
   - [ ] Component: Samza Runner
   - [ ] Component: Twister2 Runner
   - [ ] Component: Hazelcast Jet Runner
   - [ ] Component: Google Cloud Dataflow Runner


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to