orleans icon indicating copy to clipboard operation
orleans copied to clipboard

ADO provider doesn't seem to honor the type of grain

Open denstad opened this issue 3 years ago • 2 comments

The ADO provider doesn't seem to honor the type of grain and will take grains on ID without taking the grain type into account.

https://discord.com/channels/333727978460676096/1178370964732530828

https://gist.github.com/COCPORN/032d7d671a2f3a3adaa37e4081b5df25

https://gist.github.com/COCPORN/08014691b6b4f0977a0da073b8cdc35c

I am not sure how to elaborate on the issue. @ReubenBond Knows what I am talking about.

denstad avatar Nov 27 '23 17:11 denstad

Hello. The issue seems still to be present.

https://discord.com/channels/333727978460676096/333727978460676096/1262363247827353621

Do you plan to look on it?

For now ADO provider with PostgresSql seems to be limited to the usage users may require.

jacekwielek avatar Jul 31 '24 06:07 jacekwielek

I am experiencing this issue with the ADO.NET provider with SQL Server. All of the values of the GrainTypeString column in the OrleansStorage table are either "PubSubRendezvousGrain" or "state". Multiple different types of grains have the same GrainTypeString value "state". Their GrainTypeHash values are also identical. The "state" value appears to originate from here: https://github.com/dotnet/orleans/blob/v9.1.2/src/Orleans.Runtime/Core/GrainRuntime.cs#L86

justinm0 avatar Feb 18 '25 11:02 justinm0