Skip to content

Redis oplog connects and disconnects all the time #397

@lagartoverde

Description

@lagartoverde

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions