Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JS sdk changes for merge support #31354

Open
wants to merge 21 commits into
base: main
Choose a base branch
from

Conversation

ujjwalsoni1707
Copy link
Member

Packages impacted by this PR

@azure/cosmos

Issues associated with this PR

#23417

Describe the problem that is addressed by this PR

Partition merge (preview) is one of feature in CosmosDB which allows us to reduce the number of physical partitions by merging them. With merge, containers that have low RU/s or storage per partition or storage can have their physical partition layout optimized for better performance. As of now this feature is not supported by the Node SDK and if the feature is enabled, all requests from Node SDK will be blocked. So, after this PR, Node SDK will support this feature.

What are the possible designs available to address the problem? If there are more than one possible design, why was the one in this PR chosen?

Are there test cases added in this PR? (If not, why?)

Yes

Provide a list of related PRs (if any)

Command used to generate this PR:**(Applicable only to SDK release request PRs)

Checklists

  • Added impacted package name to the issue description
  • Does this PR needs any fixes in the SDK Generator?** (If so, create an Issue in the Autorest/typescript repository and link it here)
  • Added a changelog (if necessary)

@azure-sdk
Copy link
Collaborator

azure-sdk commented Oct 10, 2024

API change check

APIView has identified API level changes in this PR and created following API reviews.

@azure/cosmos

@ujjwalsoni1707 ujjwalsoni1707 requested review from bterlson and a team as code owners October 21, 2024 06:30
@abhijitpai
Copy link

How about other operations like change feed etc. - do they work post merge without any changes?

@ujjwalsoni1707
Copy link
Member Author

How about other operations like change feed etc. - do they work post merge without any changes?

In other operations merge support is already handled

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants