Skip to content

Replace WorkflowTasksSharingInfo collection with ReplayStatus

saketh somaraju requested to merge az/sa-fix-azure-cosmos into master

All Submissions:


  • [YES] Have you added an explanation of what your changes do and why you'd like us to include them?
  • [YES] I have updated the documentation accordingly.
  • [YES] My code follows the code style of this project.

Current Behavior or Linked Issues


Related to !931 (merged)

Does this introduce a breaking change?


  • [NO]

Other information


  • There is a requirement to add a new cosmos collection ReplayStatus to database osdu-db.
  • After adding the new collection, number of collections in database osdu-db becomes # 26. We have limitation of 25 collections per database for shared throughput.
  • Right now data partition's terraform apply to create ReplayStatus collection is failing with the above reason. {\\\"Errors\\\":[\\\"Collection create forbidden as collection count in database offer has exceeded 25.\\\"]}
  • Refer !931 (merged)
  • This MR proposes to delete obsolete collection WorkflowTasksSharingInfo and replace it with ReplayStatus
  • Please be noted that for brownfield environments to apply this change, one must delete the resource lock for cosmos db account.
Edited by saketh somaraju

Merge request reports