Better logging

This commit is contained in:
juju committed 2020-05-07 13:46:02 +02:00
1 parent 6757f2df8f
commit df518d4f8a
1 file changed
+5
+5
View File
@@ -96,7 +96,12 @@ namespace paxos
{
int last_tried = ledger.last_tried();
if (last_tried > ballot)
{
log("But it was discarded because an higher ballot ("
+ std::to_string(last_tried) + ") as been found before", red);
return;
}
while (last_tried + (int)legislators.size() < ballot)
{
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.