You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Function host fails to start because an exception is thrown by the constructor of AzureStorageDurabilityProviderFactory, with message "PartitionCount must be an integer value between 1 and 16".
Expected behavior
The constructor for AzureStorageDurabilityProviderFactory should not be called since the type of the provider is Netherite.
Actual behavior
The constructor appears to be called due to dependency injection somewhere. In the constructor, the validation checks the number of partitions and throws an exception
Relevant data
The call stack is not helpful, as it does not reveal why the constructor is called, supposedly because it is some kind of dependency injection.
Repro
Easy, just use any Netherite project and edit host.json to set PartitionCount to 32.
The text was updated successfully, but these errors were encountered:
Description
Function host fails to start because an exception is thrown by the constructor of
AzureStorageDurabilityProviderFactory
, with message "PartitionCount must be an integer value between 1 and 16".Expected behavior
The constructor for
AzureStorageDurabilityProviderFactory
should not be called since the type of the provider isNetherite
.Actual behavior
The constructor appears to be called due to dependency injection somewhere. In the constructor, the validation checks the number of partitions and throws an exception
Relevant data
The call stack is not helpful, as it does not reveal why the constructor is called, supposedly because it is some kind of dependency injection.
Repro
Easy, just use any Netherite project and edit host.json to set PartitionCount to 32.
The text was updated successfully, but these errors were encountered: