1. 20 Apr, 2001 2 commits
    • Barry Warsaw's avatar
      Updates to do some simple pack() testing first. · 36b80af4
      Barry Warsaw authored
      dumps(), makeloader(): Take these out of the PackableStorage class,
      and keep them even though they aren't currently used.
      
      checkOldRevisionPacked(): Removed -- it's too complicated as a first
      test.
      
      checkSimplePack(): New pack() checker; it creates three revisions of
      the same object, then attempts to pack to `now'.  Then it makes sure
      that revisions 1 and 2 of the object are gone, but that revision 3
      (the current revision) still exists.  Full passes this test, but
      FileStorage fails. :(
      36b80af4
    • Barry Warsaw's avatar
      1463d652
  2. 19 Apr, 2001 6 commits
  3. 14 Apr, 2001 3 commits
  4. 13 Apr, 2001 3 commits
    • Barry Warsaw's avatar
      Added tpc_vote() infrastructure along the lines of tpc_begin() and · 0cbd1f05
      Barry Warsaw authored
      tpc_finish(); i.e. it acquires the lock, checks the argument, and then
      calls self._vote().  Note that the transaction passed to tpc_vote()
      isn't passed to self._vote(), since I don't what would be useful.
      
      BaseStorage._vote(): current no-op.
      0cbd1f05
    • Barry Warsaw's avatar
      Added two tests to specifically (and only) focus in on the one · c60df608
      Barry Warsaw authored
      remaining problem with full Berkeley storage's transactionalUndo().
      Specifically:
      
          tid 1: create object 1
          tid 2: modify object 1
          tid 3: undo tid 2
          ----------------------
          tid 4: undo tid 1 (1st alternative universe)
          ----------------------
          tid 4: undo tid 3 (2nd alternative universe)
      
      The new tests are checkUndoCreationBranch1() and
      checkUndoCreationBranch2(), corresponding to alternative universes 1
      and 2, respectively.  Full storage currently fails a.u. #2.
      FileStorage passes.
      c60df608
    • Barry Warsaw's avatar
      Trivial formatting fixes · f8d1d748
      Barry Warsaw authored
      f8d1d748
  5. 12 Apr, 2001 12 commits
  6. 11 Apr, 2001 7 commits
  7. 10 Apr, 2001 7 commits