Currently there is no way for a developer to shutdown an particular instance - see link to thread below. The only way is through changing the instance count in the service configuration file - either manually or programatically. Therefore I ask myself - the fabric controller picks the instance depending on a certain pattern, probably in most cases the instance with the highest instance index and in some cases, if it violates the rules given by the upgrade domain or fault domain, another instance.
Has anybody found out the pattern that the fabric controller is following?
THANKS