Better logging

This commit is contained in:
juju committed 2020-05-06 19:28:37 +02:00
1 parent bd6ce7db3b
commit 879b82fb7e
1 file changed
+5
+5
View File
@@ -94,7 +94,12 @@ namespace paxos
unsigned int nb_legislators = legislators.size();
if (ballot != ledger.last_tried()
|| quorum_previous_votes.size() > nb_legislators / 2)
{
log("but it was discarded because ballot " + std::to_string(ballot)
+ " is outdated, it is either no longer in treatment or already started"
, red);
return;
}
Decree decree;
decree.decree = vote_decree;
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.