Azure / azure-data-lake-store-net

Azure Data Lake Store .Net SDK
MIT License
18 stars 24 forks source link

Adls client freezing on "GetDirectoryEntry" #44

Open danielkboyer opened 4 years ago

danielkboyer commented 4 years ago

I have a long living adlsclient that is alive the whole time the app is running. however on a call to receive file properties it freezes and never returns. This part of the code only allows one thread at a time and no more. However I have multiple adls clients instantiated throughout the project but they are only used by one thread at a time and not used together.

getfilepropertyerror

gliljas commented 3 years ago

Late to the party, but this just bit us as well. It's caused by sync-over-async used in GetDirectoryEntry. All these methods should come with a "use at your own peril" label.