Hi, I was testing a mongodb Atlas shared cluster for genieacs. I found this depends on db.hostInfo() command, which is not allowed on Atlas shared clusters, Looking at the code, I see there is a single usage of that command here. Could we get db time offset computed in a different way such that this command dependency is removed?
Oh, I would also like to inform you that current clusterTime is also reported in the “not Allowed” Error message… so this is quite of LOL
What is the purpose of this particular code stanza? Is the offset tracking neccesary?
I am in a similar situation as the OP - I can not give the elevated permission set that this line would require due to Information Security regulations I need to abide.