is ReadSyncOverAsync causing thread starvation? #1663
Labels
⏳ Waiting for Customer
Issues/PRs waiting for user response/action.
ℹ️ Needs more Info
Issues that have insufficient information to pursue investigations
Why EF call to ReadSyncOverAsync call?
I work on a oData project using EF Core 6.0.6 using async calls but it is creating double number of threads than the .net Framework v4.7.2 version of the same code, the big difference that I found that the hospot is the "Microsoft.Data.SqlClient.TdsParserStateObjectNative.ReadSyncOverAsync" method.
is that call causing a thread starvation?
Microsoft.EntityFrameworkCore/6.0.6
Microsoft.EntityFrameworkCore.SqlServer/6.0.6
Microsoft.AspNetCore.OData/8.0.8
Controller Code
This method is only returning the IQueryable, does not execute the db call
Stack Trace
This is the hostpot: ReadSyncOverAsync on the traces:
Provider and version information
EF Core version:
Database provider: (e.g. Microsoft.EntityFrameworkCore.SqlServer)
Target framework: (e.g. .NET 6.0)
Operating system: Windows 11
The text was updated successfully, but these errors were encountered: