« Previous | Next » 

Revision 6c5a7090

ID6c5a7090314116ff0381763a813ba7c84d888ffb
Parent 305cb9bb
Child 6abe9194

Added by Michael Hanselmann over 15 years ago

Make sure that client programs get all messages

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

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences