Skip to content
Snippets Groups Projects
  1. Dec 04, 2012
  2. Oct 11, 2012
  3. 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
  4. Sep 03, 2012
  5. Jul 12, 2012
  6. 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
  7. Jul 02, 2012
  8. Jun 30, 2012
  9. Jun 29, 2012
  10. 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
  11. Jun 21, 2012
  12. Jun 14, 2012
  13. Jun 08, 2012
  14. May 25, 2012
  15. May 22, 2012
  16. May 21, 2012
  17. May 18, 2012
  18. May 17, 2012
  19. May 16, 2012
  20. May 02, 2012
  21. Apr 29, 2012
  22. Apr 28, 2012
  23. Apr 26, 2012
  24. Apr 23, 2012
  25. Apr 20, 2012
  26. Apr 18, 2012
  27. Apr 09, 2012
  28. 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
  29. Mar 28, 2012
  30. Mar 22, 2012
  31. Mar 21, 2012
  32. Feb 28, 2012
  33. Feb 14, 2012
Loading