Skip to content
Snippets Groups Projects
  1. Jun 14, 2012
  2. Jun 13, 2012
  3. Jun 09, 2012
    • Konstantin Osipov's avatar
      Fix a regression with double unlock. · f9d6249b
      Konstantin Osipov authored
      Fix a regression I introduced while refactoring
      txn code with double unlock of txn->old_tuple.
      
      We would assign txn->old_tuple before actually taking
      a lock on it, then call txn_lock(), get an exception,
      and in txn_rollback() unlock a lock which we didn't take.
      
      This lead to an assertion failure or crash under concurrent
      load, when the same tuple was updated from multiple connections.
      f9d6249b
  4. Jun 08, 2012
  5. Jun 07, 2012
  6. Jun 06, 2012
    • Konstantin Osipov's avatar
      Implement error checks in WAL I/O. · e9b83a5e
      Konstantin Osipov authored
      Do not use buffered file I/O which doesn't
      give a precise account of failure, when it happens.
      
      Instead, batch writes to WAL or SNAP files and
      write batches using writev(). If writev() fails,
      we can accurately evaluate which requests (those that
      belong to the batch) were not written to disk.
      
      In case of a partial write, rollback the failed requests,
      and seek back to the end of the last fully written
      request.
      
      To support writev() and IO with file descriptors,
      implement nio library, which provides a set of
      EINTR- and error log- aware wrappers around syscalls.
      e9b83a5e
    • Konstantin Osipov's avatar
      103c06a7
  7. Jun 04, 2012
  8. Jun 01, 2012
  9. May 30, 2012
  10. May 29, 2012
  11. May 28, 2012
  12. May 25, 2012
Loading