|
For v4.4 only.
We wait 15 seconds waiting for the local snapshot to be majority committed then we return MaxTimeMSExpired on failure which is not a transient error so drivers don't retry on them specially that these 15 seconds got applied on commands that doesn't specify maxTimeMS in the first place for example: getMore running on pre-v5.0 versions with emrc=false
SERVER-68328 made ReadConcernMajorityNotAvailableYet as a transient error and now it is a more suitable to be used here.
SERVER-68328 should be backported first to v4.4.
|