Skip to content
  1. Dec 20, 2011
  2. 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
  3. Dec 16, 2011
  4. Dec 13, 2011
  5. Dec 12, 2011
  6. Dec 07, 2011
  7. Dec 05, 2011
  8. Dec 04, 2011
  9. Dec 03, 2011
  10. Dec 02, 2011
  11. Dec 01, 2011
  12. Nov 30, 2011
  13. Nov 29, 2011
  14. Nov 28, 2011
  15. Nov 26, 2011
  16. Nov 25, 2011