We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 73771ba commit 6500636Copy full SHA for 6500636
Microsoft.Azure.Cosmos/src/Handler/RequestInvokerHandler.cs
@@ -501,7 +501,7 @@ internal static async Task<FeedRange> ResolveFeedRangeBasedOnPrefixContainerAsyn
501
.ConfigureAwait(false);
502
503
if (partitionKeyDefinition != null && partitionKeyDefinition.Kind == PartitionKind.MultiHash
504
- && feedRangePartitionKey.PartitionKey.InternalKey?.Components?.Count >= partitionKeyDefinition.Paths?.Count)
+ && feedRangePartitionKey.PartitionKey.InternalKey?.Components?.Count < partitionKeyDefinition.Paths?.Count)
505
{
506
feedRange = new FeedRangeEpk(feedRangePartitionKey.PartitionKey.InternalKey.GetEPKRangeForPrefixPartitionKey(partitionKeyDefinition));
507
}
0 commit comments