Skip to content

App locks during tenant setup when using SqlServerCache as IDistributedCache. #16485

Discussion options

You must be logged in to vote

Update:

I discovered that if I remove some of the sub-recipes that are executed towards the end of my setup recipe (ones that define certain ContentTypes and some default ContentItems for them), then the deadlock never triggers. When I stripped out the "content" step from those nested recipes, then performing the setup of a new tenant stopped having deadlocks (yay). So, the issue seems somehow related to my attempts to create content items at the end of my setup recipe. And this deadlock only occurs if I have distributed features turned on (OrchardCore.Tenants.Distributed in the Default tenant and my distributed cache module in all tenants via being an activated "feature" within my setup …

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@willnationsdev
Comment options

Answer selected by willnationsdev
@Piedone
Comment options

@willnationsdev
Comment options

@Piedone
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants