Skip to content
Snippets Groups Projects
  1. Mar 27, 2013
    • Konstantin Osipov's avatar
      Merge branch 'stable' · 67305c4a
      Konstantin Osipov authored
      67305c4a
    • Konstantin Osipov's avatar
      Fix a bug with session id in on_disconnect() trigger. · 729927d2
      Konstantin Osipov authored
      https://bugs.launchpad.net/tarantool/+bug/1160789
      
      When multiple sessions get disconnected at the same
      time, the same fiber is running all disconnect triggers.
      This fiber's sid was  not changed between trigger invocations,
      and on_disconnect() triggrer of the next disconnected
      session would see not its own session id in box.session.id(),
      but the previous session's session id.
      
      The fix is to correctly set box.session.id() before handling
      any iproto request.
      In on_connect() request, sid is 0, but soon it is
      reset in session_create().
      
      No test case since the bug requires that there is a full
      libev queue, so that multiple on_disconnect() triggers
      fire in the same loop.
      729927d2
  2. Mar 26, 2013
  3. Mar 22, 2013
  4. Mar 19, 2013
  5. Mar 18, 2013
  6. Mar 15, 2013
  7. Mar 14, 2013
  8. Mar 13, 2013
  9. Mar 12, 2013
  10. Mar 08, 2013
  11. Mar 07, 2013
    • Konstantin Osipov's avatar
      3e9c6da2
    • Konstantin Osipov's avatar
      Merge branch 'stable' · 4ce948d9
      Konstantin Osipov authored
      4ce948d9
    • Konstantin Osipov's avatar
      Give CPACK a pre-edited spec file. · f920175c
      Konstantin Osipov authored
      twistd by default starts with umask 077.
      This is why buildbot has umask setting.
      
      rpm by default takes file and directory umask
      from the build directory.
      
      When building tarantool rpm under buildbot,
      twistd default umask was inherited. Thus
      all paths were created in rwx-- mode.
      
      Now add to this cmake bug CMake bug 0012864.
      That is, by default, cmake cpack generator
      adds %dir directive for every intermediate
      dir into the spec.
      
      E.g. if there is a destination file /etc/rc.d/foo,
      the spec gets
      %dir /etc
      %dir /etc/rc.d
      
      Together with the default dir access mask of
      twistd this nicely messed up our rpm install: an
      install of Tarantool 1.4.8-59 rpm for CentOS would change
      /etc and /usr access mode to 700.
      
      Two things are done about that: Tarantool no longer
      uses a cpack generated cpeck file. Extraneous %dir
      directives are removed from the spec file. This
      should minimize the damage of a broken twistd config,
      should it happen again.
      
      All buildslaves are reconfigured and restarted with umask 022.
      f920175c
  12. Mar 06, 2013
  13. Feb 28, 2013
  14. Feb 27, 2013
Loading