Open cheenamalhotra opened 1 year ago
Looks like a concurrency issue. Would recommend changing services dictionary to ConcurrentDictionary:
protected Dictionary<Type, ServiceLookup> services = new Dictionary<Type, ServiceLookup>();
Link to source
Raising priority since it's happening consistently for me.
I think this may be happening due to Parallel Message processing
being enabled by default.
https://github.com/microsoft/azuredatastudio/blob/711923cd4611c7be13027177b351a806657bd1e0/extensions/mssql/src/utils.ts#L132
@alanrenmsft was it intended to be true by default?
@cheenamalhotra it is intentional to enable it by default for dev build to catch issues. I think you can remove the p0 flag and I can work with you to debug the issue.
Steps to Reproduce:
Noticed this error log today: