PubSub: Unobserved InvalidOperationException in AsyncSingleRecvQueue #2763
Labels
api: pubsub
Issues related to the Pub/Sub API.
priority: p2
Moderately-important priority. Fix may not be included in next release.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Hi,
My application that uses PubSub has logging handler for
TaskScheduler.UnobservedTaskException
.Recently i have found out that such exceptions are constantly produced with stacktrace leading to PubSub (can be up to hundred in 10 minutes).
Exception:
Looks like race in code below since it is not in
lock
.google-cloud-dotnet/apis/Google.Cloud.PubSub.V1/Google.Cloud.PubSub.V1/SubscriberClient.cs
Line 663 in 2dc1fb7
I believe there are no functional bugs because of that but ideally library should not produce such things :)
Thanks.
The text was updated successfully, but these errors were encountered: