You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Porting a project to Orleans 7 caused an issue for me:
A grain which has both transactional state and uses a persisted grain directory to ensure only one instance of the grain will ever exist causes this error (which was not the case using 3.6.5)
Orleans.Runtime.OrleansMessageRejectionException:
'Forwarding failed: tried to forward message Request [S127.0.0.1:11111:27517279 sys.client/hosted-127.0.0.1:11111@27517279]->[S127.0.0.1:11111:27517279 transactiongrainwithdirectory/B]
GrainDirectoryWithTransactionIssueReproduction.ITransactionGrainWithDirectoryGrainDirectoryWithTransactionIssueReproduction.ITransactionGrainWithDirectory.SayHi()
#28[ForwardCount=2] for 2 times after "Failed to register activation in grain directory." to invalid activation. Rejecting now. '
Removing the GrainDirectory attribute on the affected grain resolved the issue for me.
Ah, so nothing to do with transactions? (should I correct the title?)
benjaminpetit
changed the title
Persisted grain directory + transactional state = Exception
Cannot register grain activations using the Azure table-based directory
Nov 15, 2022
Porting a project to Orleans 7 caused an issue for me:
A grain which has both transactional state and uses a persisted grain directory to ensure only one instance of the grain will ever exist causes this error (which was not the case using 3.6.5)
Removing the
GrainDirectory
attribute on the affected grain resolved the issue for me.Here is a reproduction of the issue
The text was updated successfully, but these errors were encountered: