Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot set PartitionCount larger than 16 for Netherite #2013

Closed
sebastianburckhardt opened this issue Nov 17, 2021 · 0 comments · Fixed by #2015
Closed

Cannot set PartitionCount larger than 16 for Netherite #2013

sebastianburckhardt opened this issue Nov 17, 2021 · 0 comments · Fixed by #2015
Labels

Comments

@sebastianburckhardt
Copy link
Collaborator

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 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
1 participant