Discussion:
[mongodb 3.0] All secondaries sync from hidden node in replicaSet
(too old to reply)
Dushyant Dixit
2018-12-10 08:04:37 UTC
Permalink
Hello,

Problem: We run into unfortunate situation where all secondaries were
syncing either from hidden node (which we use to take backup) or other
secondaries but none of them were syncing directly from primary


We realised this when we started facing write exceptions whenever our
backup script runs. This is because while taking backups we take fsync
lock on filesystem which blocks write operation and since we use
write-concern 2 the writes did not succeed


As per mongodb Doc, “Secondaries avoid syncing from delayed members and hidden
members.” Ref: https://docs.mongodb.com/v3.0/core/replica-set-sync/

Is this a known issue? or Bug?
--
You received this message because you are subscribed to the Google Groups "mongodb-user"
group.

For other MongoDB technical support options, see: https://docs.mongodb.com/manual/support/
---
You received this message because you are subscribed to the Google Groups "mongodb-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mongodb-user+***@googlegroups.com.
To post to this group, send email to mongodb-***@googlegroups.com.
Visit this group at https://groups.google.com/group/mongodb-user.
To view this discussion on the web visit https://groups.google.com/d/msgid/mongodb-user/4a472375-07e4-42fe-9bc2-7df58b2dc18e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Continue reading on narkive:
Loading...