Mongodb replicaset

hello
I ve got this message in the file server.log. Do you have an idea of the issue ?

2018-07-06 03:47:21,907 [metadata-refresh-XXX] ERROR c.d.p.mongo.MongoDocumentHelper - Mongo command returned with invalid return code (not OK), Failed to ping mongo cluster : { “Exception” : “com.mongodb.MongoTimeoutException: Timed out after 2000 ms while waiting for a server that matches PrimaryServerSelector. Client view of cluster state is {type=REPLICA_SET, servers=[{address=XXXX:27018, type=REPLICA_SET_SECONDARY, roundTripTime=0.6 ms, state=CONNECTED}]” }

best regards

Which versions of mongo and Dremio?

hello
the version of mongo 3.6
for dremio 2.0.5