orleans icon indicating copy to clipboard operation
orleans copied to clipboard

Orleans.Transactions.ITransactionManagerGrain. Make sure the grain assembly was correctly deployed and loaded in the silo

Open zhaoqinghai opened this issue 8 years ago • 4 comments

i use orleans.transactions v2.04 nuget, when i silobulider add UseInClusterTransactionManager() it run error,if i delete it ,it will run ok. image

zhaoqinghai avatar Sep 05 '18 02:09 zhaoqinghai

hmm that might be a bug in our end. UseInClusterTransactionManager should add transaction grain assembly as an application part, but it doesn't.

Are you using Transaction in your application?

xiazen avatar Sep 17 '18 22:09 xiazen

To work around it, you can add a line to siloHostBuilder.

siloHostBuilder.ConfigureApplicationParts(parts=> parts.AddApplicationPart(typeof(ITransactionManagerGrain).Assembly).WithReferences())

xiazen avatar Sep 17 '18 22:09 xiazen

yes it runs ok,but when i use transaction,it does not rollback to database, what problem does it resolve

zhaoqinghai avatar Sep 20 '18 06:09 zhaoqinghai

I'm afraid I don't understand the problem, I thought the problem is transaction manager grain assembly isn't added to application parts, which caused the exception. What does it have to do with database? Please elaborate more.

xiazen avatar Sep 25 '18 19:09 xiazen