Skip to content
Snippets Groups Projects
  1. Aug 05, 2015
    • Konstantin Osipov's avatar
      iproto: fix a crashing bug on ec2.large instance · f1fcede8
      Konstantin Osipov authored
      When entire contents of the output buffer is flushed, we must reset
      write start and end positions. If the buffer can be recyced, they
      both are reset to point to the beginning of the buffer, otherwise write start
      is advanced to match write end.
      
      The old code would always execute *begin = *end assignment, regardless
      of whether it's case 1) (full reset) or 2) (advancing write start).
      
      gcc 4.8 could reorder this assignment, and put it in front of conditional
      iobuf_reset(). In that case, write start could point beyond write end,
      since iobuf_reset() resets write end to zero.
      
      A funny bug which would hit only under heavy load, only if there are
      -O2 optimizations, and no debug prints.
      f1fcede8
  2. Aug 04, 2015
  3. Aug 03, 2015
  4. Aug 02, 2015
  5. Jul 31, 2015
  6. Jul 30, 2015
  7. Jul 29, 2015
  8. Jul 28, 2015
  9. Jul 27, 2015
  10. Jul 24, 2015
Loading