We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9dd94ec commit fc961a3Copy full SHA for fc961a3
1 file changed
Microsoft.Azure.Cosmos/src/ThinClientStoreClient.cs
@@ -90,7 +90,17 @@ private async ValueTask<HttpRequestMessage> PrepareRequestForProxyAsync(
90
91
BufferProviderWrapper bufferProviderWrapper = this.bufferProviderWrapperPool.Get();
92
try
93
- {
+ {
94
+ PartitionKeyRange partitionKeyRange = request.RequestContext.ResolvedPartitionKeyRange;
95
+
96
+ requestMessage.Headers.TryAddWithoutValidation(
97
+ ThinClientConstants.ProxyStartEpk,
98
+ partitionKeyRange?.MinInclusive);
99
100
101
+ ThinClientConstants.ProxyEndEpk,
102
+ partitionKeyRange?.MaxExclusive);
103
104
requestMessage.Headers.TryAddWithoutValidation(
105
ThinClientConstants.ProxyOperationType,
106
request.OperationType.ToOperationTypeString());
0 commit comments