Closed stevensJourney closed 6 days ago
Latest commit: 81bc3cb43d61ee53987ec1678bf9a8bd3d9b5565
The changes in this PR will be included in the next version bump.
Not sure what this means? Click here to learn what changesets are.
Click here if you're a maintainer who wants to add another changeset to this PR
Overview
The
MongoSyncBucketStorage
'sgetParsedSyncRules
method currently caches the parsed sync rules with the assumption that the previously cached Sync rules were generated with the sameoptions
. This assumption is not always true.In some cases an external module could request parsed Sync rules without knowing the exact
defaultSchema
. This external request should not affect subsequent requests for parsed Sync rules. Currently this behaviour breaks syncing for schemas which are different from the cached schema.