Re-introduces the prior behavior of rejecting any changes to the key or
logical partitioning of a collection spec. We'd eventually like to allow
these changes, but it seems our first go was a bit premature, since we
don't yet have another way to respect evolveIncompatibleCollections: false if the key does change.
I tried to keep this change relatively localized and easy to rip out.
Workflow steps:
Publish an existing collection with a different key or logical partitioning.
It should now fail and return incompatible_collections.
Description:
Re-introduces the prior behavior of rejecting any changes to the key or logical partitioning of a collection spec. We'd eventually like to allow these changes, but it seems our first go was a bit premature, since we don't yet have another way to respect
evolveIncompatibleCollections: false
if the key does change.I tried to keep this change relatively localized and easy to rip out.
Workflow steps:
Publish an existing collection with a different key or logical partitioning. It should now fail and return
incompatible_collections
.Documentation links affected:
n/a
Notes for reviewers:
Also includes a minor cleanup in agent-sql.
This change isβ![Reviewable](https://reviewable.io/review_button.svg)