In Service Fabric we can get a Partition Identifier from a Service Context.
The docs doesn't say much about this property. :-(
I'm wondering whether this identifier is persistent for stateful services, so that it is assigned the same value every time the stateful service partition is started.
I've tested this by creating a reliable service on the local development cluster. After stopping and restarting the cluster the same partition identifiers were indeed reported.
Can I trust that this will always be the case?
If not, what would cause it to change?