Reputation: 304
I want rename an actor service and redeploy and migrate the data to the "new" (renamed) actor.
When I only rename the actor and deploy it, it will result in this error:
Services must be explicitly deleted before removing their Service Types
Which makes sense because the name in the manifest is changed.
But what is the recommended/easiest way to rename actors and keep the data?
I can try to backup and restore the data in the new actor. But this will not fit in a CICD way of working.
Found a related question: Service Fabric: removed actors and now upgrade fails but is seems there is a lot of manual actions involved.
Upvotes: 2
Views: 655
Reputation: 11
I would try to deploy a version which:
If you do not deleteOnConverted, you double the needed storage space, to convert.
Finally deploy a version, which:
Maybe you can always throw away state in a CI-setup, while a CD-setup requires state-conversion?
BTW - You should avoid to rename state, because it is a breaking change.
Upvotes: 1