monstache icon indicating copy to clipboard operation
monstache copied to clipboard

When running multiple monstache services, cluster connection gets lost and sync just halts

Open sameerkattel opened this issue 3 years ago • 0 comments

I am trying to run two monstache services in a cluster mode, one service just handles deletes change stream sync and other service handles everything else. When doing so, monstache service lose cluster connection ( shows no entries in cluster collection) midway and sync just stops with that.

Not sure if this is because I have secondary read preference set in mongo connection string

mongo-url = "mongodb://superuser:superuser:27017,ww7-mn1-s.wwaz.local:27017,ww7-mn1-a.wwaz.local:27017/?readPreference=secondaryPreferred"

sameerkattel avatar Aug 02 '21 04:08 sameerkattel