Skip to main content
Showing results for 
Search instead for 
Did you mean: 

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

model.SaveChanges() hangs when looping over several small partitions

I am running a loop over all the partitions I need to refresh. partition.RequestRefresh and model.SaveChanges() do the job, except every once every ten calls model.SaveChanges() just hangs. No error or anything. I am repeatedly testing on the same partitions, and it's essentially random which ones fail. The partitions are on the smaller side (it takes all but five minutes when it works), but I am currently waiting for a command that has run for 2.5 hours. What can I do to debug this?
Console.WriteLine("processPartitionInTable: Requesting refresh...");
 partition.RequestRefresh(type: Microsoft.AnalysisServices.Tabular.RefreshType.Full);
 Console.WriteLine("processPartitionInTable: Saving changes...");
 Console.WriteLine("processPartitionInTable: Done");
Status: New
Community Support



You may visit for assistance.

Frequent Visitor



For anyone wanting to follow along: