Open coxley opened 4 months ago
Does it work if you use dataset.DeleteWithContents()
? Tables are not cleared from datasets during deletion by default.
I agree that the internalError
response status causes lots of headaches with client library retries.
@ohaibbq: Oh dang, I completely missed that in the documentation. Thank you very much.
I guess my real issue is with internalError
then.
What happened?
It's common in our tests to bootstrap a dataset, let library code create as many tables as needed, then cleanup the dataset after the test finishes. Removing a dataset should remove all tables and other resources inside it.
The emulator doesn't appear to do this. Additionally, the errors returned from the emulator are
500
which the Google SDKs (at least for Go) retry indefinitely on. This is likely the cause of the deadlock: source / sourceWhat did you expect to happen?
Two things:
internalError
. The Google SDKs retry on these indefinitely because they're treated as infrastructural errors on their side.How can we reproduce it (as minimally and precisely as possible)?
Anything else we need to know?
No response