1. 23 Feb, 2007 4 commits
  2. 22 Feb, 2007 4 commits
  3. 21 Feb, 2007 1 commit
  4. 20 Feb, 2007 5 commits
    • anozdrin/alik@alik.opbmk's avatar
      Fix for BUG#24415: Instance manager test im_daemon_life_cycle fails randomly. · 76f813a5
      anozdrin/alik@alik.opbmk authored
      The cause of im_daemon_life_cycle.imtest random failures was the following
      behaviour of some implementations of LINUX threads: let's suppose that a
      process has several threads (in LINUX threads, there is a separate process for
      each thread). When the main process gets killed, the parent receives SIGCHLD
      before all threads (child processes) die. In other words, the parent receives
      SIGCHLD, when its child is not completely dead.
      
      In terms of IM, that means that IM-angel receives SIGCHLD when IM-main is not dead
      and still holds some resources. After receiving SIGCHLD, IM-angel restarts
      IM-main, but IM-main failed to initialize, because previous instance (copy) of
      IM-main still holds server socket (TCP-port).
      
      Another problem here was that IM-angel restarted IM-main only if it was killed
      by signal. If it exited with error, IM-angel thought it's intended / graceful
      shutdown and exited itself.
      
      So, when the second instance of IM-main failed to initialize, IM-angel thought
      it's intended shutdown and quit.
      
      The fix is
        1. to change IM-angel so that it restarts IM-main if it exited with error code;
        2. to change IM-main so that it returns proper exit code in case of failure.
      76f813a5
    • anozdrin/alik@alik.opbmk's avatar
      Polishing: · 61b624eb
      anozdrin/alik@alik.opbmk authored
        1. use MySQL headers instead of system ones;
        2. move logical part of code into a separate function.
      61b624eb
    • anozdrin/alik@alik.opbmk's avatar
      Fix Windows build. · a91354c3
      anozdrin/alik@alik.opbmk authored
      a91354c3
    • anozdrin/alik@booka.'s avatar
      bfb2c3eb
    • thek@kpdesk.mysql.com's avatar
      Merge kpettersson@bk-internal:/home/bk/mysql-5.1-runtime · 9660ea64
      thek@kpdesk.mysql.com authored
      into  kpdesk.mysql.com:/home/thek/dev/mysql-5.1-runtime
      9660ea64
  5. 19 Feb, 2007 8 commits
  6. 18 Feb, 2007 1 commit
  7. 16 Feb, 2007 3 commits
  8. 15 Feb, 2007 2 commits
  9. 14 Feb, 2007 5 commits
  10. 13 Feb, 2007 7 commits