Skip to content

Commit 59b38ab

Browse files
Add guideline to avoid dispose or cancel committing transaction.
This recommendation is recommended based on recent incident investigation by service fabric reliable collection team.
1 parent 87b8af2 commit 59b38ab

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

articles/service-fabric/service-fabric-reliable-services-reliable-collections-guidelines.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ The guidelines are organized as simple recommendations prefixed with the terms *
3636
* Consider dispose transaction as soon as possible after commit completes (especially if using ConcurrentQueue).
3737
* Do not perform any blocking code inside a transaction.
3838
* When [string](/dotnet/api/system.string) is used as the key for a reliable dictionary, the sorting order uses [default string comparer CurrentCulture](/dotnet/api/system.string.compare#system-string-compare(system-string-system-string)). Note that the CurrentCulture sorting order is different from [Ordinal string comparer](/dotnet/api/system.stringcomparer.ordinal).
39+
* Do not dispose or cancel a committing transaction. This is not supported and could crash the host process.
3940

4041
Here are some things to keep in mind:
4142

0 commit comments

Comments
 (0)