-
Notifications
You must be signed in to change notification settings - Fork 399
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GetOrAddAsync of IReliableDictionary throwing when already exists. #896
Comments
@zeodamian - can you share the code snippet where you actually saw this? |
This is where it was throwing:
which was run with a retry logic. no other transactions in outer scopes. |
@zeodamian, if you're still having issues with this, go ahead and open an Azure support ticket for this so we can get a closer look. More info on that here: https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-support. It would be helpful if you could include the partition id, replica id and transaction id and time range for incident. |
@zeodamian , one issue that can cause this is found. It will be fixed in a future release (I'll update the thread). If you can follow the above steps to send your traces, I can verify that you are hitting the same issue. Thank you for reporting this issue. |
Closing due to inactivity |
This usually doesn't happen, but suddenly did, repeatedly. I thought it was supposed to just get it if it already existed? (thus GetOrAdd).
What is this error caused by, and how can I avoid it?
State provider urn:FooBar/dataStore already exists at Microsoft.ServiceFabric.Replicator.DynamicStateManager.<AddSingleStateProviderAsync>d__166.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at Microsoft.ServiceFabric.Replicator.DynamicStateManager.<GetOrAddStateProviderAsync>d__102
1.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at Microsoft.ServiceFabric.Data.ReliableStateManagerImpl.d__191.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n
The text was updated successfully, but these errors were encountered: