Replace WorkflowTasksSharingInfo collection with ReplayStatus
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 databaseosdu-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 createReplayStatus
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 withReplayStatus
- 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 [EPAM]