Skip to content
Snippets Groups Projects
  1. Dec 08, 2016
  2. Dec 07, 2016
  3. Dec 06, 2016
  4. Dec 05, 2016
    • Georgy Kirichenko's avatar
      Vinyl use coeio for page read. Issue #1954 · 355170ef
      Georgy Kirichenko authored
      xlog tx iterator extracted from xlog cursor iterator. tx iterator may be
      created from a memory chunk and now don't depend on xlog file.
      Vinyl will use a task for page reading in online mode.
      355170ef
    • Roman Tsisyk's avatar
      Refactor coio_task · ea1da04d
      Roman Tsisyk authored
      * Add coio_task_create() and coio_task_destroy()
      * Rename coio_task() to coio_task_post()
      * Fix the core invariant of coio_task_post():
        - On timeout or when fiber was cancelled set diag, return -1 and
          guarantee that on_timeout will be called somewhen.
        - Otherwise don't touch diag, don't call on_timeout callback,
          return 0. Please check task->base.result and task->diag
          to get the original return code and diag from the callback.
      * Change the return value of coio_task_post() to "int".
      * Add diag to coio_getaddrinfo() and fix a possible bug in replication;
        ignore uncoventional getaddrinfo(3) error codes for now.
      * Fix buggy box.snapshot() tests.
      
      Needed for #1954
      ea1da04d
    • Roman Tsisyk's avatar
      Fix compilation warnings in vy_range_recover_run() · b39c857d
      Roman Tsisyk authored
      Follow up the previous patch.
      b39c857d
    • Roman Tsisyk's avatar
      vinyl: refactor disk I/O · 4ae4eeb1
      Roman Tsisyk authored
      * Replace vy_index, vy_range and vy_run with more specific
        function arguments
      * Add comments and fix code style
      * Rename run_no to run_id everywhere
      
      No semantic changes.
      4ae4eeb1
    • Roman Tsisyk's avatar
      d7e7a7fa
    • Georgy Kirichenko's avatar
      Vinyl meta via xlog format · 38cd0aee
      Georgy Kirichenko authored
      We will write all vinyl metadata in xlog file format. Each run has its
      own xlog with one transaction. First xrow should contain an run creation
      request, all others - page creation requests.
      38cd0aee
    • Roman Tsisyk's avatar
      Fix missing diag_set() in xlog_create() · 834164c5
      Roman Tsisyk authored
      + Remove support non-blocking I/O from fio_write().
        fio.h is for files only, please use sio.h for sockets.
      834164c5
  5. Dec 04, 2016
  6. Dec 02, 2016
    • Konstantin Osipov's avatar
      gh-587: (nested statements): review fixes · edffdc00
      Konstantin Osipov authored
      Add test cases for transaction control statements
      invoked in a trigger.
      
      ABI change: box_txn_rollback() now may fail with error,
      if called from a nested stateent.
      edffdc00
    • Roman Tsisyk's avatar
      Allow DML requests from on_replace triggers · 519f1388
      Roman Tsisyk authored
      Touch txn a little bit to support multistatement transactions in
      autocommit mode.
      
      This patch allow to perform DML requests from space:on_replace()
      triggers. Trigerred requests are processed as a part of the original
      transaction and entire transaction is rolled back in case of error.
      Please note that there is still no support for nested transactions,
      therefore a call to box.begin() from on_replace() trigger is not
      allowed.
      
      Recursive invocation is not forbidden, but limited to the maximal
      depth of 4 to avoid stack overflow.
      
      Proudly fixes #587
      519f1388
  7. Dec 01, 2016
  8. Nov 30, 2016
Loading