1. 13 Sep, 2010 2 commits
  2. 12 Sep, 2010 1 commit
  3. 11 Sep, 2010 3 commits
    • Rusty Russell's avatar
      tdb: unify logging code in test dir. · 655ef777
      Rusty Russell authored
      655ef777
    • Rusty Russell's avatar
      tdb: make check more robust against recovery failures. · 73598053
      Rusty Russell authored
      We can end up with dead areas when we die during transaction commit;
      tdb_check() fails on such a (valid) database.
      
      This is particularly noticable now we no longer truncate on recovery;
      if the recovery area was at the end of the file we used to remove it
      that way.
      73598053
    • Rusty Russell's avatar
      tdb: rewrite external agent for testing. · a153d09b
      Rusty Russell authored
      For locking and transaction tests, we need an external process to probe the
      tdb.  This code was a mess, and unreliable (occasional failures).  Rewrite
      it so that instead of blocking and using SIGALRM, we mug fcntl and force
      non-blocking locks.  We use a special return to day "I couldn't because
      the lock wasn't available".
      
      I also made the operations clearer and more orthogonal rather than "what
      we needed for each test" which was really hard to understand.
      
      It turns out those occasional failures weren't spurious.  Next patch!
      a153d09b
  4. 10 Sep, 2010 4 commits
  5. 09 Sep, 2010 6 commits
  6. 03 Sep, 2010 6 commits
  7. 02 Sep, 2010 1 commit
  8. 30 Aug, 2010 16 commits
  9. 28 Aug, 2010 1 commit