- 04 Dec, 2002 1 commit
-
-
Toby Dickenson authored
-
- 18 Nov, 2002 1 commit
-
-
Jeremy Hylton authored
XXX Not sure if berkeley still works.
-
- 13 Nov, 2002 2 commits
-
-
Guido van Rossum authored
-
Toby Dickenson authored
-
- 20 Oct, 2002 1 commit
-
-
Jeremy Hylton authored
XXX This creates a new requirement: If a store implements restore(), it's iterator() implementation must support the data_txn option.
-
- 28 Sep, 2002 1 commit
-
-
Guido van Rossum authored
says it should be cPickle.dumps(), so do that.
-
- 11 Sep, 2002 1 commit
-
-
Jeremy Hylton authored
The effect of this change will be to cause transactions to fail immediately, rather than the first time they call store() or abortVersion() or some other write-method. Since the Connection now treats empty transactions as a special case, this change will not change the class of transactions that fail.
-
- 09 Sep, 2002 1 commit
-
-
Barry Warsaw authored
tpc_begin(): Get rid of the apply() call since I believe we can now rely on extended-call syntax being available.
-
- 28 Aug, 2002 1 commit
-
-
Guido van Rossum authored
public API.
-
- 14 Aug, 2002 1 commit
-
-
Martijn Pieters authored
-
- 11 Feb, 2002 1 commit
-
-
Guido van Rossum authored
-
- 25 Jan, 2002 1 commit
-
-
Guido van Rossum authored
Highlights: BaseStorage.py: Fix copyTransactionsFrom() when commitVersion(), abortVersion() or transactionalUndo() is used. FileStorage.py: Add restore() method, which can store data records corresponding to undo or version manipulations; add close() method to FileIterator class; raise POSKeyError instead of KeyError for bad keys, to ensure safe formatting of transaction ids (binary strings) in tracebacks. POSException.py: Add POSKeyError. fsdump.py: Deal with records indicating the undo or abort of a version doing object creation. tests/IteratorStorage.py: New unittests for the iterator() method and interface of the storage API; new unit tests for extended file iterators; new class, IteratorDeepCompare; test of the iterator .close() method. tests/testFileStorage.py: Add class FileStorageRecoveryTest, which adds two simple tests for copyTransactionsFrom(). This indirectly tests the new restore() method.
-
- 17 Jan, 2002 1 commit
-
-
Jeremy Hylton authored
The Standby-branch was branched from the StandaloneZODB-1_0-branch, which includes the BTrees-fsIndex code. I didn't include that change in the merge, but everything else. Terse summary follows: BaseStorage.py: Add read-only storage feature. Add TransactionRecord and DataRecord marker classes for iteration. Reformat some lines. FileStorage.py: Add read-only storage feature. Greg Ward's ConflictError patch Reformat some lines. Add lastTransaction(), lastSerialno(). Add bounds support to iterator(). Use TransactionRecord and DataRecord. Connection.py: DemoStorage.py: MappingStorage.py: Greg Ward's ConflictError patch POSException.py: Greg Ward's ConflictError patch Add ReadOnlyError.
-
- 28 Nov, 2001 1 commit
-
-
matt@zope.com authored
-
- 24 Oct, 2001 1 commit
-
-
Jeremy Hylton authored
BaseStorage implements this in terms of modifiedInVersion() and load(). Other storages may (perhaps even should) implement it more efficiently.
-
- 13 Apr, 2001 1 commit
-
-
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.
-
- 12 Apr, 2001 1 commit
-
-
Jim Fulton authored
Unfortutely, tpc_finish didn't handle this case correctly.
-
- 03 Apr, 2001 1 commit
-
-
Barry Warsaw authored
Minimal BSDDB storage which does not override abortVersion() and commitVersion()). commitVersion() can't be an alias for abortVersion() because it takes a different number of arguments. Provide a simple implementation. Changed "from POSException import UndoError" to "import POSException" and use POSException.UndoError in undo(). This is because abortVersion() and commitVersion() also reference exceptions in the POSException module. Aside: fix __version__ extraction from $Revision$ to be portable in the face of "cvs co -kv".
-
- 15 Mar, 2001 1 commit
-
-
Jim Fulton authored
-
- 07 Aug, 2000 1 commit
-
-
Jim Fulton authored
_abort.
-
- 01 Jul, 2000 1 commit
-
-
Jim Fulton authored
(e.g. when moving data between a DCOracleStorage and a FileStorage), especially the method copyTransactionsFrom, as in: import ZODB.FileStorage, DCOracle, DCOracleStorage # Copy data.fs to oracle DCOracleStorage.Full( lambda : DCOracle.Connect('user/pw@sid') ).copyTransactionsFrom( ZODB.FileStorage.FileStorage('Data.fs', read_only=1) )
-
- 29 Jun, 2000 1 commit
-
-
Jim Fulton authored
a transaction id to be spacified, rather than being defined by the storage. This should *only* be used when copying data from one type of storage to another.
-
- 20 May, 2000 1 commit
-
-
Jim Fulton authored
-
- 05 May, 2000 1 commit
-
-
Jim Fulton authored
-
- 23 Nov, 1999 1 commit
-
-
Jim Fulton authored
-
- 11 Aug, 1999 1 commit
-
-
Jim Fulton authored
Failures in _finish could cause the storage to hang because the commit lock was not released.
-
- 11 Jul, 1999 2 commits
-
-
Jim Fulton authored
-
Jim Fulton authored
-
- 08 Jul, 1999 1 commit
-
-
Jim Fulton authored
-
- 29 Jun, 1999 1 commit
-
-
Jim Fulton authored
-
- 12 May, 1999 1 commit
-
-
Jim Fulton authored
-
- 10 May, 1999 1 commit
-
-
Jim Fulton authored
-
- 07 May, 1999 1 commit
-
-
Jim Fulton authored
-
- 28 Apr, 1999 1 commit
-
-
Jim Fulton authored
-
- 11 Nov, 1998 1 commit
-
-
Jim Fulton authored
-
- 23 Oct, 1998 1 commit
-
-
Jim Fulton authored
-
- 15 Dec, 1997 1 commit
-
-
Jim Fulton authored
-