Random problems with pub/sub


#1

Hi everyone!

I’m having a “missing documents” issue when suscribing to a publication.

The publication searches in a collection, and returns 3 documents, but the subscription just populates 1 document in minimongo.

This issue happens randomly. When restarting the system, the issue is solved until it randomly happens again.

My publication function works properly, and the subscription is very simple. Is there any way to debug pub/sub process?

Thanks!


#2

Hi, could we get the code/repo? It is much easier to debug when we can see the actual code.


#3

Sorry, but is a propietary software. That’s why I’m asking if there is any way to debug the pub/sub process :’(


#4

Is there any way to debug pub/sub process?

You can check the Chrome console to see the DDP traffic. DDP is the protocol being used to transfer the data. That way you can see which actions have been triggering changes in the collection.


#5

It was very useful! Thank you!!! :smiley: