I think the actual issue here was that the Lease code could fail to update Mongo with who the current leader was, and Status only ever read Mongo.
I believe we have a proposal to have Status interrogate the Raft engine instead of the database, which would fix this.
I think the actual issue here was that the Lease code could fail to update Mongo with who the current leader was, and Status only ever read Mongo.
I believe we have a proposal to have Status interrogate the Raft engine instead of the database, which would fix this.