Skip to content

Conversation

rkistner
Copy link
Contributor

On an Atlas M10 instance with views, listCollections() lists system.views, but we're not authorized to query it.

This fixes the issue on two levels:

  1. Filter out system collections.
  2. Ignore Unauthorized errors when sampling data.

Copy link

changeset-bot bot commented Oct 15, 2024

🦋 Changeset detected

Latest commit: bb367f4

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
@powersync/service-module-mongodb Patch
@powersync/service-image Patch

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

stevensJourney
stevensJourney previously approved these changes Oct 15, 2024
@rkistner rkistner marked this pull request as ready for review October 15, 2024 08:16
@rkistner rkistner merged commit 8368671 into feat/modular-replication-architecture Oct 15, 2024
9 checks passed
@rkistner rkistner deleted the fix-atlas-permissions-handling branch October 15, 2024 08:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants