Azure / Azure/azure-sdk-for-python

Cosmos: additional support for dedicated gateway SQLx features

オープン
#44,845 コメント 1 件 リアクション 0 件 担当者 1 名 @simorenoh に割り当て済み GitHub で見る
Client Cosmos
主要言語
Python
スター
5.6k
フォーク
3.4k
平均マージ
2日 2時間
マージ済み PR(30日)
213

説明

We are currently missing two dedicated gateway features in the Python SDK:

**Bypass Dedicated Gateway**
Provide more control to customers by allowing them to choose whether to use the integrated cache or not. If set to `true`, the read will be served by the backend and won't be cached in the dedicated gateway.

ref: https://github.com/Azure/azure-sdk-for-java/pull/35865

**Shard Key**
Allow customers to optionally specify a shard key to use the new sharding feature.
Specifying the shard key will help route the request to an instance that has cached data for this shard or bypass the SQLx cache if correlated instance is down. If the shard key is not specified, it will fall back to the default behavior, which is randomly selecting an instance to serve the request.

ref: https://github.com/Azure/azure-sdk-for-java/pull/47796

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。