Set rs.slaveOk() is not working via CLI?

Hi @Fabio_Ramohitaj ,
Thank you for your reply. I am using the MongoDB 4.2 version. Seems the rs.secondaryok() will work from 4.5 or higher versions.

Thanks and Regards,
Ramesh

1 Like