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
2d601479
Commit
2d601479
authored
Nov 17, 2007
by
Jim Fulton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed bug that can cause the asyncore client loop to fail.
parent
22e4f62a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
NEWS.txt
NEWS.txt
+2
-1
src/ZEO/zrpc/connection.py
src/ZEO/zrpc/connection.py
+4
-1
No files found.
NEWS.txt
View file @
2d601479
...
@@ -33,9 +33,10 @@ General
...
@@ -33,9 +33,10 @@ General
ZEO
ZEO
---
---
- (3.8.0b4) Fixed a serious bug that could cause client I/O to stop
- (3.8.0b4
, 3.8.0b5
) Fixed a serious bug that could cause client I/O to stop
(hang). This was accomonied by a critical log message along the
(hang). This was accomonied by a critical log message along the
lines of: "RuntimeError: dictionary changed size during iteration".
lines of: "RuntimeError: dictionary changed size during iteration".
(In b4, the bug was only partially fixed.)
- (3.8a1) ZEO's strategoes for avoiding client cache verification were
- (3.8a1) ZEO's strategoes for avoiding client cache verification were
improved in the case that servers are restarted. Before, if
improved in the case that servers are restarted. Before, if
...
...
src/ZEO/zrpc/connection.py
View file @
2d601479
...
@@ -82,7 +82,10 @@ def client_loop():
...
@@ -82,7 +82,10 @@ def client_loop():
continue
continue
if
not
(
r
or
w
or
e
):
if
not
(
r
or
w
or
e
):
for
obj
in
client_map
.
itervalues
():
# The line intentionally doesn't use iterators. Other
# threads can close dispatchers, causeing the socket
# map to shrink.
for
obj
in
client_map
.
values
():
if
isinstance
(
obj
,
Connection
):
if
isinstance
(
obj
,
Connection
):
# Send a heartbeat message as a reply to a
# Send a heartbeat message as a reply to a
# non-existent message id.
# non-existent message id.
...
...
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