Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
ZEO
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
ZEO
Commits
225de4d2
Commit
225de4d2
authored
Jun 21, 2004
by
Tim Peters
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Regen storage doc.
parent
24d0d2f4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
doc/storage.pdf
doc/storage.pdf
+0
-0
doc/storage.tex
doc/storage.tex
+7
-7
No files found.
doc/storage.pdf
View file @
225de4d2
No preview for this file type
doc/storage.tex
View file @
225de4d2
...
@@ -96,7 +96,7 @@ the following methods:
...
@@ -96,7 +96,7 @@ the following methods:
\begin{methoddesc}
{
tpc
_
begin
}{
transaction
\optional
{
, tid
\optional
{
,
\begin{methoddesc}
{
tpc
_
begin
}{
transaction
\optional
{
, tid
\optional
{
,
status
}}}
status
}}}
Begin the two-phase commit for
\var
{
transaction
}
.
Begin the two-phase commit for
\var
{
transaction
}
.
This method blocks until the storage is in the not committing state,
This method blocks until the storage is in the not committing state,
and then places the storage in the committing state. If the storage
and then places the storage in the committing state. If the storage
...
@@ -117,7 +117,7 @@ the following methods:
...
@@ -117,7 +117,7 @@ the following methods:
\var
{
oid
}
. A Storage need not and often will not write data
\var
{
oid
}
. A Storage need not and often will not write data
immediately. If data are written, then the storage should be
immediately. If data are written, then the storage should be
prepared to undo the write if a transaction is aborted.
prepared to undo the write if a transaction is aborted.
The value of
\var
{
serial
}
is opaque; it should be the value returned
The value of
\var
{
serial
}
is opaque; it should be the value returned
by the
\method
{
load()
}
call that read the object.
\var
{
version
}
is
by the
\method
{
load()
}
call that read the object.
\var
{
version
}
is
a string that identifies the version or the empty string.
a string that identifies the version or the empty string.
...
@@ -125,7 +125,7 @@ the following methods:
...
@@ -125,7 +125,7 @@ the following methods:
\class
{
ZODB.Transaction.Transaction
}
, is the current transaction.
\class
{
ZODB.Transaction.Transaction
}
, is the current transaction.
The current transaction is the transaction passed to the most recent
The current transaction is the transaction passed to the most recent
\method
{
tpc
_
begin()
}
call.
\method
{
tpc
_
begin()
}
call.
There are several possible return values, depending in part on
There are several possible return values, depending in part on
whether the storage writes the data immediately. The return value
whether the storage writes the data immediately. The return value
will be one of:
will be one of:
...
@@ -143,13 +143,13 @@ the following methods:
...
@@ -143,13 +143,13 @@ the following methods:
sequence of pairs from the exception? Barry, Jeremy, please
sequence of pairs from the exception? Barry, Jeremy, please
clarify here.
}
clarify here.
}
\end{itemize}
\end{itemize}
Several different exceptions can be raised when an error occurs.
Several different exceptions can be raised when an error occurs.
\begin{itemize}
\begin{itemize}
\item
\exception
{
ConflictError
}
is raised when
\var
{
serial
}
\item
\exception
{
ConflictError
}
is raised when
\var
{
serial
}
does not match the most recent serial number for object
does not match the most recent serial number for object
\var
{
oid
}
.
\var
{
oid
}
.
\item
\exception
{
VersionLockError
}
is raised when object
\item
\exception
{
VersionLockError
}
is raised when object
\var
{
oid
}
is locked in a version and the
\var
{
version
}
\var
{
oid
}
is locked in a version and the
\var
{
version
}
...
@@ -157,7 +157,7 @@ the following methods:
...
@@ -157,7 +157,7 @@ the following methods:
\item
\exception
{
StorageTransactionError
}
is raised when
\item
\exception
{
StorageTransactionError
}
is raised when
\var
{
transaction
}
does not match the current transaction.
\var
{
transaction
}
does not match the current transaction.
\item
\exception
{
StorageError
}
or, more often, a subclass of
\item
\exception
{
StorageError
}
or, more often, a subclass of
it, is raised when an internal error occurs while the
it, is raised when an internal error occurs while the
storage is handling the
\method
{
store()
}
call.
storage is handling the
\method
{
store()
}
call.
...
@@ -197,7 +197,7 @@ the following methods:
...
@@ -197,7 +197,7 @@ the following methods:
If
\var
{
transaction
}
is not the current transaction, nothing
If
\var
{
transaction
}
is not the current transaction, nothing
happens.
happens.
\var
{
func
}
is called with no arguments while the storage lock is
\var
{
func
}
is called with no arguments while the storage lock is
held, but possibly before the updated date is made durable. This
held, but possibly before the updated date is made durable. This
argument exists to support the
\class
{
Connection
}
object's
argument exists to support the
\class
{
Connection
}
object's
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment