OrleansContrib / Orleans.CosmosDB

Orleans providers for Azure Cosmos DB
MIT License
40 stars 30 forks source link

Exception with ConsistencyLevel #15

Closed KSemenenko closed 6 years ago

KSemenenko commented 6 years ago

I get this error when starting Silos: ArgumentException: ConsistencyLevel Strong specified in the request is invalid when service is configured with consistency level Session. Ensure the request consistency level is not stronger than the service consistency level.

galvesribeiro commented 6 years ago

Hello @KSemenenko. That is CosmosDB saying that your default (service) consistency level at your CosmosDB account is weaker than your Database, Collection, or Request consistency levels.

You can learn more here: https://docs.microsoft.com/en-us/azure/cosmos-db/consistency-levels