Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: remove collections when db watcher is disabled #32150

Merged

Conversation

sampaiodiego
Copy link
Member

When using DISABLE_DB_WATCHERS=true to ignore changes from change streams, we were still receiving all the data from MongoDB and then ignoring them by just not broadcasting.. With this change we'll not even ask MongoDB to send those changes.

@sampaiodiego sampaiodiego requested a review from a team as a code owner April 8, 2024 17:17
Copy link
Contributor

dionisio-bot bot commented Apr 8, 2024

Looks like this PR is ready to merge! 🎉
If you have any trouble, please check the PR guidelines

Copy link

changeset-bot bot commented Apr 8, 2024

⚠️ No Changeset found

Latest commit: 6f01926

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link

codecov bot commented Apr 8, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 54.81%. Comparing base (e2d05e9) to head (6f01926).

Additional details and impacted files

Impacted file tree graph

@@              Coverage Diff               @@
##           release-6.7.0   #32150   +/-   ##
==============================================
  Coverage          54.81%   54.81%           
==============================================
  Files               2303     2303           
  Lines              50839    50839           
  Branches           10387    10387           
==============================================
  Hits               27867    27867           
- Misses             20479    20508   +29     
+ Partials            2493     2464   -29     
Flag Coverage Δ
unit 75.81% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

@ggazzo ggazzo added the stat: QA assured Means it has been tested and approved by a company insider label Apr 8, 2024
@ggazzo ggazzo added this to the 6.7 milestone Apr 8, 2024
@dionisio-bot dionisio-bot bot added the stat: ready to merge PR tested and approved waiting for merge label Apr 8, 2024
@kodiakhq kodiakhq bot merged commit 6d5cc5e into release-6.7.0 Apr 8, 2024
36 of 37 checks passed
@kodiakhq kodiakhq bot deleted the chore-remove-collections-when-db-watcher-is-disabled branch April 8, 2024 17:54
gabriellsh added a commit that referenced this pull request Apr 9, 2024
 Via GitHub (2) and Guilherme Gazzo (1)
* develop: (40 commits)
  chore: Fix some check/lint warnings (#32048)
  Revert "fix!: api login should not suggest which credential is wrong" (#32156)
  test: Prevent playwright from unselecting options by mistake (#32158)
  chore(meteor/packages): apply code style (#32145)
  fix: New messages export overwrites previous one from the same day when using Amazon S3 (#32062)
  Release 6.7.0
  chore: bump to 6.8.0 (#32153)
  chore: remove unused onStartup function (#32149)
  Release 6.7.0-rc.4
  chore: remove collections when db watcher is disabled (#32150)
  chore: Bump Apps-Engine version (#32144)
  regression(fuselage-ui-kit): Use default translation namespace for `-core` apps (#32105)
  regression(fuselage-ui-kit): Use default translation namespace for `-core` apps (#32105)
  chore: move imported `Apps` to proxy (#32142)
  feat: allowing forward to offline dep (#31976)
  ci: fix services container not building in build step (#32075)
  feat: `Contextualbar` resizable (#29461)
  fix: Missing space between name and user name on system messages (#32136)
  fix: livechat room desync on different windows (#32135)
  fix: livechat room desync on different windows (#32135)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stat: QA assured Means it has been tested and approved by a company insider stat: ready to merge PR tested and approved waiting for merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants