Hi All,
In PSSSA (1 primary, 3 secondary, 1 arbiter) deployments when 2 secondary DB’s go down and only PSA is present. when the primary mongo db is restart few times , all database queries start to fail and following error in observed in mongo db logs ,
"ctx":"monitoring-keys-for-HMAC","msg":"setting timestamp read source","attr":{"readSource":"kMajorityCommitted","provided":"none"
"ctx":"monitoring-keys-for-HMAC","msg":"setting timestamp read source","attr":{"readSource":"kNoTimestamp","provided":"none"
"ctx":"monitoring-keys-for-HMAC","msg":"Failed to refresh key cache","attr":{"error":"ReadConcernMajorityNotAvailableYet: Read concern majority reads are currently not possible.
All other application queries also fail with “Failed to refresh key cache” error. The cluster wide read concern is set as local. Though the above logs indicate it expects a majority read concern. The mongo db remains in the same state until one secondary comes up , when PSSA is present and when there is majority read possible the server self heals and this issue doesn’t occur. There are no logs to indicate the exact query that is being operated on system.keys collection to figure out what is the readconcern on the query being executed. Is this expected behaviour or if we are missing something ?