Skip to content
Snippets Groups Projects
  1. Jun 24, 2011
    • Konstantin Osipov's avatar
      Test-runner: a number of changes to improve debugging · c992d9d9
      Konstantin Osipov authored
      When stopping the server under gdb, send SIGTERM
      to the server, not to the terminal in which
      gdb is started. This gives you the option
      to actually examine gdb output before the test
      has ended.
      
      When the server crashes, and we're reading
      from it in a client connection, detect EOF
      and abort reading (the old code was buggy
      and would busyloop indefinitely in case of
      a crash).
      
      Remove an unnecessary fork() in
      start().
      c992d9d9
    • Konstantin Osipov's avatar
      Handle more gracefully signals sent by the terminal driver · 42833f73
      Konstantin Osipov authored
      When ctrl-c is pressed on the terminal, a signal (SIGINT)
      is sent to all members of the foreground process group.
      
      Since both wal_writer and logger processes' default action
      on SIGINT is to terminate, they could terminate before parent.
      
      This led to rather nasty results: in the circumstances, when
      the parent somehow ignored SIGINT (e.g. under GDB), or handled
      it after its children (a race condition), children would
      disappear before parent, then parent would detect that
      wal_writer is gone, try to panic/write to the log, which
      is also gone, and on top of SIGINT get a SIGPIPE.
      
      Move spawned children to their own process groups
      to make sure they don't belong to the main process'
      process group, and don't receive signals from the
      controlling tty. It's okay in the interactive mode,
      since these children are going to die anyway when the
      parent dies, after getting a SIGPIPE.
      42833f73
  2. Jun 23, 2011
  3. Jun 21, 2011
  4. Jun 16, 2011
  5. Jun 15, 2011
  6. Jun 10, 2011
  7. Jun 09, 2011
  8. Jun 08, 2011
    • Konstantin Osipov's avatar
      User guide: start pruning tarantool.wiki · 05de3503
      Konstantin Osipov authored
      Start pruning Tarantool wiki on github, and add documentation
      on Tarantool process title to the user guide, since
      it is present on the wiki but not in the user guide.
      
      While at it, make the process title more lookalike on Linux
      and FreeBSD, and rename some of the (what looks to me as) unclear
      process titles.
      The documentation reflects the new naming scheme already.
      05de3503
  9. Jun 07, 2011
  10. Jun 06, 2011
  11. Jun 03, 2011
  12. Jun 02, 2011
  13. Jun 01, 2011
  14. May 31, 2011
    • Konstantin Osipov's avatar
      User guide: add error codes. · 8a3bd2c7
      Konstantin Osipov authored
      Learn how to use olinking correctly.
      Add errcode.xml - the list of all error codes.
      While at it, add markers to errcode.h signalling
      that whenever it is changed, errcode.xml also needs a change.
      Get rid of ERR_CODE_UNKNOWN_ERROR - it has no raison d'être.
      
      Tweak the docbook to html XSL rules, in particular
      table of contents generation.
      8a3bd2c7
  15. May 27, 2011
  16. May 26, 2011
  17. May 25, 2011
  18. May 24, 2011
Loading