Skip to content
Snippets Groups Projects
  1. Jan 10, 2013
    • Konstantin Osipov's avatar
      Refactor our CMake files. Patch provided by Roman Tsisyk. · 6dd44f6d
      Konstantin Osipov authored
      Move third_party library compilation to the top level (less
      directory traversal).
      Provide an option for using system LibEIO/libobjc.
      
      Enforce a naming convention for cmake/ scripts
      (Find* and Build*).
      
      Move ev and eio wrappers to third-party (todo: delete
      them completely).
      
      There is one (known) problem with this patch:
      tarantool --version now prints incorrect compile flags.
      To be fixed in a separate patch.
      6dd44f6d
  2. Jan 03, 2013
  3. Dec 13, 2012
  4. Dec 04, 2012
  5. Dec 03, 2012
  6. Oct 11, 2012
  7. Sep 16, 2012
    • Konstantin Osipov's avatar
      A fix and a test case for Bug#1051006 · 52a25610
      Konstantin Osipov authored
      A fix and a test case for Bug#1051006
      "Tree iterators return garbage if an index is modified between calls"
      
      Mark in a deleted node in sptree.h that it's been  put into the
      garbage heap. When iterting over a garbage collected node, skip it,
      and go up the stack until we find the first valid node.
      
      This breaks the "sorted" quality of tree iterators in case there
      are modifications between invocations of an iterator:
      it is possible that a node is deleted and recycled, and we don't see
      it in the iterator. When we go up the stack, we can jump to a different
      part of the range than the one the recycled node belongs to.
      . With this fix, it is also possible, that the iteration goes more
      than once over entire tree range. But it's a good enough quick fix for a
      crashing expire loop, which uses the tree iterator over the primary key to
      scan the entire range and deletes expired keys on the go (additionally,
      deletions may occur between invocations of the expire loop).
      52a25610
  8. Sep 03, 2012
  9. Jul 12, 2012
  10. Jul 03, 2012
    • Konstantin Osipov's avatar
      Refactor cmake scripts. · 8570dc43
      Konstantin Osipov authored
      Do not use bundled libobjc on Darwin.
      Refactor cmake scritps: introduce os.cmake, arch.cmake,
      compiler.cmake, libobjc.cmake, luajit.cmake.
      
      Remove the hack with building libobjc/luajit as a
      dependency on cfg.
      
      Do not specify -ggdb when compiling with clang.
      
      Add -fno-objc-legacy-dispatch and -fobjc-nonfragile-abi
      when compiling with CLang on Linux.
      
      Remove -fgnu-runtime when compiling with gcc on Mac.
      
      Many minor cleanups.
      8570dc43
  11. Jul 02, 2012
  12. Jun 30, 2012
  13. Jun 29, 2012
  14. Jun 22, 2012
    • Konstantin Osipov's avatar
      MacOS X port: do not free argv if it was not allocated. · c15ead94
      Konstantin Osipov authored
      Darwin revealed a bug in our free_proc_title() function, which was
      added to procitle.c to work well with valgrind: we free argv pointer
      even if it wasn't allocated (none of PS_USE_CLOBBER_ARGV/PS_USE_CHANGE_ARGV
      was set).
      
      Don't free memory if it wasn't allocated.
      
      Another issue is understanding why Darwin doesn't define
      PS_USE_SETPROCTITLE and why our FreeBSD port didn't hit this bug.
      c15ead94
  15. Jun 21, 2012
  16. Jun 14, 2012
  17. Jun 08, 2012
  18. May 25, 2012
  19. May 22, 2012
  20. May 21, 2012
  21. May 18, 2012
  22. May 17, 2012
  23. May 16, 2012
  24. May 02, 2012
  25. Apr 29, 2012
  26. Apr 28, 2012
  27. Apr 26, 2012
  28. Apr 23, 2012
  29. Apr 20, 2012
  30. Apr 18, 2012
  31. Apr 09, 2012
  32. Mar 30, 2012
    • Konstantin Osipov's avatar
      Thread-based WAL writer: a piecewise port. · 59d0e081
      Konstantin Osipov authored
      This patch introduces wal_mode configuration variable,
      which can take either "fsync" or "fsync_delay" values.
      
      In "fsync" mode, we open the write ahead log in O_SYNC
      mode, and thus sync every write to disk.
      
      Th fsync_delay mode is the backward-compatible mode:
      in this mode, we only do fsync once every fsync_delay
      seconds. If fsync_delay is 0, there is no fsync.
      
      Otherwise, this patch is only adding auxiliary headers,
      object files, etc.
      59d0e081
  33. Mar 28, 2012
Loading