Skip to content

Commit f118c3b

Browse files
authored
Merge pull request #110933 from erikadoyle/subprocessfork
Move subprocess forking to more apropos place
2 parents 2af8627 + 7a17fd2 commit f118c3b

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

articles/service-fabric/service-fabric-concepts-partitioning.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -344,9 +344,6 @@ As we literally want to have one partition per letter, we can use 0 as the low k
344344

345345
The entire source code of the sample is available on [GitHub](https://github.com/Azure-Samples/service-fabric-dotnet-getting-started/tree/classic/Services/AlphabetPartitions).
346346

347-
## Reliable Services and Actor forking subprocesses
348-
Service Fabric doesn't support reliable services and subsequently reliable actors forking subprocesses. An example of why its not supported is [CodePackageActivationContext](https://docs.microsoft.com/dotnet/api/system.fabric.codepackageactivationcontext?view=azure-dotnet) can not be used to register an unsupported subprocess, and cancellation tokens are only sent to registered processes; resulting in all sorts of issues, such as upgrade failures, when subprocesses don't close after the parent process has received a cancellation token.
349-
350347
## Next steps
351348
For information on Service Fabric concepts, see the following:
352349

articles/service-fabric/service-fabric-hosting-model.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,10 @@ In the activation of 'MultiTypeServicePackage' for the replica of partition **P1
164164

165165
In the preceding example, you might think that if 'MyCodePackageA' registers both 'MyServiceTypeA' and 'MyServiceTypeB', and there is no 'MyCodePackageB', then there is no redundant *CodePackage* running. Although this is correct, this application model does not align with the Exclusive Process hosting model. If the goal is to put each replica in its own dedicated process, you do not need to register both *ServiceTypes* from same *CodePackage*. Instead, you simply put each *ServiceType* in its own *ServicePackage*.
166166

167+
### Reliable Services and Actor forking subprocesses
168+
169+
Service Fabric doesn't support reliable services and subsequently reliable actors forking subprocesses. An example of why its not supported is [CodePackageActivationContext](https://docs.microsoft.com/dotnet/api/system.fabric.codepackageactivationcontext?view=azure-dotnet) can not be used to register an unsupported subprocess, and cancellation tokens are only sent to registered processes; resulting in all sorts of issues, such as upgrade failures, when subprocesses don't close after the parent process has received a cancellation token.
170+
167171
## Next steps
168172
[Package an application][a4] and get it ready to deploy.
169173

0 commit comments

Comments
 (0)