Skip to content

Add support more than 10 patch operations in a single request

Yurii Kondakov requested to merge fix_number_of_patch_operations_per_doc into master

Type of change

  • Bug Fix

Does this introduce a change in the cloud provider implementation, if so which cloud?

  • AWS
  • Azure
  • Google Cloud
  • IBM

Does this introduce a breaking change?

  • [NO]

Currently, we have a limit of 10 operations on the maximum number of patch operations due to limitations on the part of Azure Cosmos DB. Partial document update in Azure Cosmos DB

For the API consumers, this number is less by 2, i.e. 8, as we add two more patch operations internally (at storage service).

The essence of the changes is that if the number of operations is more than 10,then we divide them into portions of a maximum of 10 operations.

This merge request is a second part of Bug fix. The first part is changes in the core-lib-azure library osdu/platform/system/lib/cloud/azure/os-core-lib-azure!321 (merged)

Merge request reports

Loading