• Michael Hanselmann's avatar
    Make sure that client programs get all messages · 6c5a7090
    Michael Hanselmann authored
    This is a large patch, but I can't figure out how to split it without
    breaking stuff. The old way of getting messages by always getting the
    last one didn't bring all messages to the client if they were added
    too fast, thereby making commands like “gnt-cluster verify” less than
    useful. These changes now introduce some sort a serial number per
    log entry to keep track what message a client already received. They
    also remove the log lock per opcode to make reading log entries thread
    safe.
    
    Reviewed-by: ultrotter
    6c5a7090
jqueue.py 19.6 KB