Skip to content
Snippets Groups Projects
  1. Apr 25, 2012
  2. Apr 23, 2012
  3. Apr 21, 2012
    • Konstantin Osipov's avatar
      Review comments on multipart-primary-key blueprint. · 466a1a93
      Konstantin Osipov authored
      Spelling fixes in the error message file.
      
      Add more information to the error when key cardinality
      doesn't match index cardinality in exact match.
      
      Avoid server start/stop in box_big/hash.test (ugly,
      but until we have named/dynamic spaces, which are already in the
      pipeline, we should not make our test procedure slower).
      
      Rename multipart-pk.test to tree_pk_multipar.test:
      consistently use underscores, not dashes, in file
      names.
      
      (Unrelated) Recycle more error codes.
      
      Make keyValue an inline function to save a few CPU cycles.
      
      Avoid creation of an extra table in box.lua just to find out
      variable list array cardinality.
      
      Revert changes to box.update():
      a) they break backward compatibility
      
      This reason alone should be sufficient. There must be no changes
      which break backward compatibility in a stable release, unless
      it's a fix for a crashing/security bug.
      
      box.update() changes got to be done in a separate task,
      and should not break backward compatibility.
      
      Leave update_ol for now, to test multi-part primary key updates,
      even though the function itself is quite heavy, hardly something
      we can recommend while running Lua procedures in production.
      466a1a93
  4. Apr 16, 2012
  5. Apr 14, 2012
  6. Apr 09, 2012
  7. Apr 04, 2012
  8. Apr 03, 2012
  9. Apr 02, 2012
  10. 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
  11. Mar 27, 2012
  12. Mar 21, 2012
  13. Mar 15, 2012
  14. Feb 28, 2012
    • Konstantin Osipov's avatar
      A (reviewed) fix for Bug#928222 Memory leak when . · 5a7f9984
      Konstantin Osipov authored
      A fix for Bug#928222 Memory leak when running a long
      stored procedure.
      
      An original patch was prepared done by Alexey Demakov.
      
      When running a long stored procedure, the server could
      allocate a lot of memory in the fiber garbage collected
      pool, when performing requests in a loop.
      
      To fix the bug, garbage collect memory after every call to
      rw_callback() from stored procedures module.
      
      Add ptruncate() method to palloc, which rolls back
      used memory to a saved position and use it in box_lua.m.
      
      Since VALGRIND MEMPOOL API doesn't support ptruncate(),
      don't use it, instead consistently use
      VALGRIND_MAKE_MEM_DEFINED/VALGRIND_MAKE_MEM_UNDEFINED.
      
      No test case since the problem is detected by a longevity
      test, not a functional test.
      5a7f9984
  15. Feb 16, 2012
    • Dmitry Simonenko's avatar
      debian port adaptation · ba3625ef
      Dmitry Simonenko authored
      - removed SIGUSR2 forwarding
      - removed logger and pid command line arguments
      - moved man pages generation to doc/man/
      - added logger_pid to show info output
      - changed instance config preformating scheme
      ba3625ef
  16. Feb 14, 2012
  17. Feb 13, 2012
  18. Feb 09, 2012
  19. Feb 03, 2012
  20. Feb 02, 2012
  21. Jan 30, 2012
  22. Jan 27, 2012
  23. Jan 25, 2012
  24. Jan 24, 2012
  25. Jan 13, 2012
  26. Jan 11, 2012
  27. Dec 26, 2011
    • Dmitry E. Oboukhov's avatar
      SIGUSR2 rotates log · f6e37a64
      Dmitry E. Oboukhov authored
      * SIGUSR2 handler sends SIGHUP to logger
        (default extra/logger could already handle SIGHUP).
      * Add some options to cmd-line (to override config's options).
      f6e37a64
Loading