问题
I recently upgraded my azure storage libraries from 1.7 to 2.1 and since then I have not been able to deploy to my cloud service. I keep getting this deployment error.
The size of local resources cannot be reduced. Affected local resource is DiagnosticStore in WorkerRole. Current size is 20000. Requested size is 4096.
I haven't enabled caching and I tried using Small and even Medium VM's but still the issue persists. Any idea where the issue might be?
回答1:
Don't deploy directly to the "Production" slot.
Deploy to the "Staging" slot (which will requisition new resoruces/sizes) and then perform a VIP Swap.
来源:https://stackoverflow.com/questions/18719876/deployment-to-cloud-fails-saying-size-of-diagnosticstore-cannot-be-reduced