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

Redis oplog connects and disconnects all the time #397

Open
lagartoverde opened this issue Aug 28, 2023 · 1 comment
Open

Redis oplog connects and disconnects all the time #397

lagartoverde opened this issue Aug 28, 2023 · 1 comment

Comments

@lagartoverde
Copy link

Hello, we have redis-oplog, working in another project, but when we added to this one the app doesn't show any data and enabling the debug logs shows that it's trying to connect and disconnect to the collections all the time, for example:

Subscribing to channel: invoice
I20230828-21:13:26.813(0)? [1693257206812] - [RedisSubscriptionManager] Unsubscribing from channel: invoice
I20230828-21:13:30.813(0)? [1693257210813] - [RedisSubscriptionManager] Subscribing to channel: users::G26vG3R4wbCpxypW5
I20230828-21:13:30.816(0)? [1693257210816] - [RedisSubscriptionManager] Unsubscribing from channel: users::G26vG3R4wbCpxypW5
I20230828-21:13:30.823(0)? [1693257210822] - [RedisSubscriptionManager] Subscribing to channel: invoice
I20230828-21:13:30.824(0)? [1693257210824] - [RedisSubscriptionManager] Unsubscribing from channel: invoice
I20230828-21:13:35.805(0)? [1693257215805] - [RedisSubscriptionManager] Subscribing to channel: users::G26vG3R4wbCpxypW5
I20230828-21:13:35.808(0)? [1693257215808] - [RedisSubscriptionManager] Unsubscribing from channel: users::G26vG3R4wbCpxypW5
I20230828-21:13:35.813(0)? [1693257215812] - [RedisSubscriptionManager] Subscribing to channel: invoice
I20230828-21:13:35.816(0)? [1693257215816] - [RedisSubscriptionManager] Unsubscribing from channel: invoice
I20230828-21:13:40.806(0)? [1693257220806] - [RedisSubscriptionManager] Subscribing to channel: users::G26vG3R4wbCpxypW5
I20230828-21:13:40.809(0)? [1693257220809] - [RedisSubscriptionManager] Unsubscribing from channel: users::G26vG3R4wbCpxypW5
I20230828-21:13:40.816(0)? [1693257220814] - [RedisSubscriptionManager] Subscribing to channel: invoice
I20230828-21:13:40.819(0)? [1693257220818] - [RedisSubscriptionManager] Unsubscribing from channel: invoice
I20230828-21:13:44.801(0)? [1693257224800] - [RedisSubscriptionManager] Subscribing to channel: users::G26vG3R4wbCpxypW5
I20230828-21:13:44.804(0)? [1693257224803] - [RedisSubscriptionManager] Unsubscribing from channel: users::G26vG3R4wbCpxypW5

Does anyone have an idea what could be causing this?, we are doing everything pretty much the same way in both apps.
Example of publication:

Meteor.publish("Company", function() {
  if(this.userId) {
    return Company.find({"users.user_id": this.userId});
  }
});

Example of mutation: just a normal find

Company.find({_id: "someId"});

Also we are using the same version of the package in both apps, and the app was working fine without the package using mongo oplog

@github-actions
Copy link

Thank you for submitting this issue!

We, the Members of Meteor Community Packages take every issue seriously.
Our goal is to provide long-term lifecycles for packages and keep up
with the newest changes in Meteor and the overall NodeJs/JavaScript ecosystem.

However, we contribute to these packages mostly in our free time.
Therefore, we can't guarantee you issues to be solved within certain time.

If you think this issue is trivial to solve, don't hesitate to submit
a pull request, too! We will accompany you in the process with reviews and hints
on how to get development set up.

Please also consider sponsoring the maintainers of the package.
If you don't know who is currently maintaining this package, just leave a comment
and we'll let you know

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

No branches or pull requests

1 participant