commit | c39e2bd344a14d94857ac7bb5dcf6ce8f21734ed | [log] [tgz] |
---|---|---|
author | Brian Silverman <brians> | Fri Feb 21 09:17:35 2014 -0800 |
committer | Brian Silverman <brians> | Fri Feb 21 09:45:44 2014 -0800 |
tree | 6266f5eb97330c9d5d5bd277c85764f44d5af55e | |
parent | 6a1cd21d5b0312b9a88b5687c5c000f40105f143 [diff] |
fixed some queue bugs when ReadMessageIndex fell behind There were bugs with detecting when it needed to do something special and what it did about it. This includes adding an assert to catch when it tries reading from a freed message rather than failing when somebody attempts to double-free it later and a test for doing it wrong. This was what made running log_streamer and binary_log_writer at the same time fail.