https://github.com/mongodb/mongo/blob/30b8a9ee82306012a1a344c684932df1b15f1be8/src/mongo/db/repl/replication_coordinator_external_state_impl.cpp#L318