This repository has been archived by the owner on Jul 9, 2023. It is now read-only.
Is there any reason why the IndexingMode is set to Consistent? #53
Labels
enhancement
New feature or request
I am referring to:
Orleans.CosmosDB/src/Orleans.Persistence.CosmosDB/CosmosDBGrainStorage.cs
Lines 416 to 419 in 948ef97
From my understanding of the code, the Orleans.Persistence.CosmosDB Storage Provider always does point reads (only using ID and Partition Key); so it uses CosmosDB as a KV Store and never queries using the indexed values.
We are trying to optimize our CosmosDB usage and it looks like for indexing CosmosDB charges you extra RU/s. I was wondering if we could just go ahead and turn off indexing and this library would still work correctly.
As far as I can see it would, but I'm wondering if there is any reason that I'm missing
The text was updated successfully, but these errors were encountered: