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
nexedi
ZODB
Commits
5c004da1
Commit
5c004da1
authored
Aug 22, 2008
by
Jim Fulton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed a bug that could cause invalidations for clients of storage
servers with zeo clients to be delayed.
parent
66dd368f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
1 deletion
+10
-1
src/ZEO/StorageServer.py
src/ZEO/StorageServer.py
+2
-1
src/ZEO/tests/registerDB.test
src/ZEO/tests/registerDB.test
+8
-0
No files found.
src/ZEO/StorageServer.py
View file @
5c004da1
...
...
@@ -1013,10 +1013,11 @@ class StorageServer:
# connections indirectoy by closing them. We don't care about
# later transactions since they will have to validate their
# caches anyway.
connections
=
connections
[:]
connections
=
connections
[:]
for
p
in
connections
:
try
:
p
.
connection
.
should_close
()
p
.
connection
.
trigger
.
pull_trigger
()
except
ZEO
.
zrpc
.
error
.
DisconnectedError
:
pass
...
...
src/ZEO/tests/registerDB.test
View file @
5c004da1
...
...
@@ -61,6 +61,14 @@ stub that implements the client invalidation calls:
...
self
.
mgr
.
close_conn
(
self
)
...
def
poll
(
self
)
:
...
pass
...
...
@
property
...
def
trigger
(
self
)
:
...
return
self
...
...
def
pull_trigger
(
self
)
:
...
pass
>>>
class
ZEOStorage
:
...
def
__init__
(
self
,
server
,
name
)
:
...
...
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