Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
ZODB
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kirill Smelkov
ZODB
Commits
60bf0923
Commit
60bf0923
authored
Oct 23, 2002
by
Jeremy Hylton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Frontport changes made on 3.1 release branch just prior to release.
parent
5f274be4
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
10 deletions
+6
-10
doc/ZEO/ClientCache.txt
doc/ZEO/ClientCache.txt
+0
-5
src/ZEO/__init__.py
src/ZEO/__init__.py
+1
-1
src/ZEO/version.txt
src/ZEO/version.txt
+2
-1
src/ZODB/tests/TransactionalUndoStorage.py
src/ZODB/tests/TransactionalUndoStorage.py
+3
-3
No files found.
doc/ZEO/ClientCache.txt
View file @
60bf0923
...
...
@@ -41,11 +41,6 @@ ZEO Client Cache
and so on.
As of ZEO 2.0 beta 2, the above algorithm is augmented as follows.
When a cache load finds a hit in the "old" cache file, the data is
copied to the "current" cache file. This appears to improve the hit
rate.
Persistent cache files are created in the directory named in the
'var' argument to the ClientStorage (see ClientStorage.txt) or in
the 'var' subdirectory of the directory given by the INSTANCE_HOME
...
...
src/ZEO/__init__.py
View file @
60bf0923
...
...
@@ -21,4 +21,4 @@ ZEO's home on the web is
"""
version
=
"2.0b
2
"
version
=
"2.0b
3
"
src/ZEO/version.txt
View file @
60bf0923
2.0b2
2.0b3
src/ZODB/tests/TransactionalUndoStorage.py
View file @
60bf0923
...
...
@@ -556,7 +556,7 @@ class TransactionalUndoStorage:
orig
=
[]
for
i
in
range
(
BATCHES
):
t
=
Transaction
()
tid
=
p64
(
i
+
1
)
tid
=
p64
(
i
)
s
.
tpc_begin
(
t
,
tid
)
for
j
in
range
(
OBJECTS
):
oid
=
s
.
new_oid
()
...
...
@@ -602,7 +602,7 @@ class TransactionalUndoStorage:
txn
=
iter
[
offset
]
offset
+=
1
tid
=
p64
(
i
+
1
)
tid
=
p64
(
i
)
eq
(
txn
.
tid
,
tid
)
L1
=
[(
rec
.
oid
,
rec
.
serial
,
rec
.
data_txn
)
for
rec
in
txn
]
...
...
@@ -621,7 +621,7 @@ class TransactionalUndoStorage:
offset
+=
1
# The undos are performed in reverse order.
otid
=
p64
(
BATCHES
-
i
)
otid
=
p64
(
BATCHES
-
1
-
i
)
L1
=
[(
rec
.
oid
,
rec
.
data_txn
)
for
rec
in
txn
]
L2
=
[(
oid
,
otid
)
for
_tid
,
oid
,
revid
in
orig
if
_tid
==
otid
]
...
...
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