Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
T
tempstorage
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
tempstorage
Commits
d1631cf2
Commit
d1631cf2
authored
May 19, 2004
by
Chris McDonough
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Collector 1341: TemporaryStorage can't be used under a ZEO server.
parent
421beb93
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
TemporaryStorage.py
TemporaryStorage.py
+5
-0
No files found.
TemporaryStorage.py
View file @
d1631cf2
...
@@ -71,6 +71,10 @@ class TemporaryStorage(BaseStorage, ConflictResolvingStorage):
...
@@ -71,6 +71,10 @@ class TemporaryStorage(BaseStorage, ConflictResolvingStorage):
self
.
_recently_gc_oids
=
[
None
for
x
in
range
(
RECENTLY_GC_OIDS_LEN
)]
self
.
_recently_gc_oids
=
[
None
for
x
in
range
(
RECENTLY_GC_OIDS_LEN
)]
self
.
_oid
=
'
\
0
\
0
\
0
\
0
\
0
\
0
\
0
\
0
'
self
.
_oid
=
'
\
0
\
0
\
0
\
0
\
0
\
0
\
0
\
0
'
def
lastTransaction
(
self
):
""" Return tid for last committed transaction (for ZEO) """
return
self
.
_ltid
def
__len__
(
self
):
def
__len__
(
self
):
return
len
(
self
.
_index
)
return
len
(
self
.
_index
)
...
@@ -173,6 +177,7 @@ class TemporaryStorage(BaseStorage, ConflictResolvingStorage):
...
@@ -173,6 +177,7 @@ class TemporaryStorage(BaseStorage, ConflictResolvingStorage):
serial
=
self
.
_tid
serial
=
self
.
_tid
index
=
self
.
_index
index
=
self
.
_index
opickle
=
self
.
_opickle
opickle
=
self
.
_opickle
self
.
_ltid
=
tid
# iterate over all the objects touched by/created within this
# iterate over all the objects touched by/created within this
# transaction
# transaction
...
...
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