monstache
monstache copied to clipboard
When running multiple monstache services, cluster connection gets lost and sync just halts
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"