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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
ZEO
Commits
91904742
Commit
91904742
authored
Mar 16, 2022
by
dieter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add (more) debugging code to hunt for the drop cache race condition
parent
149af836
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
src/ZEO/tests/drop_cache_rather_than_verify.txt
src/ZEO/tests/drop_cache_rather_than_verify.txt
+4
-0
No files found.
src/ZEO/tests/drop_cache_rather_than_verify.txt
View file @
91904742
...
...
@@ -78,6 +78,8 @@ Now, we'll restart the server on the original address:
##### debugging only ########
>>> print(db.storage._server.client.verify_result)
cache too old, clearing
>>> print(len(handler.records) > 1 and handler)
False
Now, let's verify our assertions above:
...
...
@@ -148,6 +150,8 @@ in the database, which is why we get 1, rather than 0 objects in the cache.)
##### debugging only ########
>>> print(db.storage._server.client.verify_result)
cache too old, clearing
>>> print(len(handler.records) > 1 and handler)
False
- Publishes a stale-cache event.
...
...
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