Skip to content

Commit d90d9b9

Browse files
authored
Merge pull request #119784 from zhenxuanjameszhang/patch-4
Add guideline to avoid dispose or cancel committing transaction.
2 parents 06fd113 + 59b38ab commit d90d9b9

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)