Commit 42a5f45
authored
transactionManager ex: tolerate aborts during read (googleapis#7188)
It is possible that txn.readRow can return an aborted error, and thus the try/catch should wrap that as well, instead of just the commit operation.1 parent e0d28a9 commit 42a5f45
1 file changed
Lines changed: 5 additions & 4 deletions
File tree
- google-cloud-examples/src/main/java/com/google/cloud/examples/spanner/snippets
Lines changed: 5 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
215 | 215 | | |
216 | 216 | | |
217 | 217 | | |
218 | | - | |
219 | | - | |
220 | | - | |
221 | | - | |
222 | 218 | | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
223 | 224 | | |
224 | 225 | | |
225 | 226 | | |
| |||
0 commit comments