OrleansTemplates icon indicating copy to clipboard operation
OrleansTemplates copied to clipboard

Single Writer Multiple Readers replicas id issue

Open nehmebilal opened this issue 9 years ago • 0 comments

When a replica grain is created, the id of the replica is constructed as follows: grainId + "" + "replicaNumber" (e.g. "MyGrain_1"). To determine the id of the original grain, the replica splits it's own id using "" separator and takes the first part. This works as long as the original grain id does not contain "_" but will not otherwise.

This is obviously problematic and should be improved.

nehmebilal avatar Jun 16 '15 23:06 nehmebilal