-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
agent: remove bundled write schemas from collections
Updates the collection controller to remove a bundled write schema from the `readSchema` of collections that use schema inference. We used to bundle the write schema as part of the `$defs`, just like we do for the inferred schema. But this was confusing for users so we stopped doing this with the previous commit. This causes the collection controller to remove a previously bundled write schema, which will happen on the next scheduled run for each collection. The code added by this commit is intended to be removed once all the bundled write schemas have been removed.
- Loading branch information
Showing
3 changed files
with
268 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters