Skip to content
  1. Jan 10, 2012
  2. Jan 09, 2012
  3. Jan 08, 2012
  4. Jan 06, 2012
  5. Jan 05, 2012
  6. Jan 04, 2012
  7. Jan 03, 2012
  8. Dec 31, 2011
  9. Dec 27, 2011
  10. Dec 26, 2011
  11. Dec 25, 2011
  12. Dec 24, 2011
  13. Dec 20, 2011
  14. Dec 17, 2011
    • Kohsuke Kawaguchi's avatar
      [FIXED JENKINS-11204] · a41fb84e
      Kohsuke Kawaguchi authored
      Don't let the partially loaded Jenkins cause a possible data loss.
      a41fb84e
    • Kohsuke Kawaguchi's avatar
    • Kohsuke Kawaguchi's avatar
      [CLOUDBEES-2018] fixing the root cause. · dcbdbcc5
      Kohsuke Kawaguchi authored
      At some point after this code was originally written, I/O in remoting
      became asynchronous. So we need to sync with that before we swap out
      the new log output stream, or else you cut off stuff at the wrong
      moment.
      
      Normally the command transfer in remoting is slow enough that
      you get more or less synchronized output anyway, which is why
      this poblem remained unnoticed.
      
      But if the uncliamed buffer gets large, write operation will take a long
      time, which makes this issue more likely to show up.
      
      This fix address this problem by doing a proper sync.
      The recycling of ByteArrayOutputStream is also disabled because it makes
      synchronization tricky.
      dcbdbcc5
  15. Dec 16, 2011