Merge MongoReplicaClient support from centum