Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
wendelin.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Kirill Smelkov
wendelin.core
Commits
5a4562fc
Commit
5a4562fc
authored
Oct 16, 2018
by
Kirill Smelkov
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
X found bug in wc 1 invalidation
parent
d7ff6655
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
bigfile/file_zodb.py
bigfile/file_zodb.py
+5
-0
No files found.
bigfile/file_zodb.py
View file @
5a4562fc
...
...
@@ -143,6 +143,11 @@ class ZBlkBase(Persistent):
# DB notifies this object has to be invalidated
# (DB -> invalidate .blkdata -> invalidate memory-page)
#
# FIXME this assumes that ZBlk always stays associated with #blk, not moved
# and never e.g. deleted from bigfile. However it is NOT correct: e.g
# ZBigFile.storeblk() can change type of stored zblk - i.e. it rewrites
# ZBigFile.blktab[blk] with another ZBlk created anew.
def
_p_invalidate
(
self
):
# do real invalidation only once - else we already lost ._v_zfile last time
if
self
.
_p_state
is
GHOST
:
...
...
Kirill Smelkov
@kirr
mentioned in commit
8c32c9f6
·
Dec 18, 2019
mentioned in commit
8c32c9f6
mentioned in commit 8c32c9f677fa5188c310d02c235f84751486678a
Toggle commit list
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