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
b89dd7f8
Commit
b89dd7f8
authored
Apr 03, 2020
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
65a9ba3e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
8 deletions
+6
-8
bigfile/_file_zodb.pyx
bigfile/_file_zodb.pyx
+4
-1
bigfile/file_zodb.py
bigfile/file_zodb.py
+2
-7
No files found.
bigfile/_file_zodb.pyx
View file @
b89dd7f8
...
@@ -120,7 +120,10 @@ cdef public class _ZBigFile(BigFile) [object _ZBigFile, type _ZBigFile_Type]:
...
@@ -120,7 +120,10 @@ cdef public class _ZBigFile(BigFile) [object _ZBigFile, type _ZBigFile_Type]:
# pywconnOf establishes and returns (py) wcfs.Conn associated with zconn.
# pywconnOf establishes and returns (py) wcfs.Conn associated with zconn.
# XXX wconn is maintained and kept in sync with zconn.
#
# returned wcfs.Conn will be maintained to keep in sync with zconn.
#
# XXX closed on zconn dealloc ?
# XXX simultaneous call?
# XXX simultaneous call?
# XXX move -> .py ?
# XXX move -> .py ?
cdef
wcfs
.
PyConn
pywconnOf
(
zconn
):
cdef
wcfs
.
PyConn
pywconnOf
(
zconn
):
...
...
bigfile/file_zodb.py
View file @
b89dd7f8
...
@@ -608,9 +608,6 @@ class ZBigFile(LivePersistent):
...
@@ -608,9 +608,6 @@ class ZBigFile(LivePersistent):
# - True -> use wcfs
# - True -> use wcfs
# - False -> don't use wcfs
# - False -> don't use wcfs
# - not set -> behave according to global default
# - not set -> behave according to global default
#
# XXX several fileh could be opened for one ZBigFile. Is it useful at all?
# normally in one zconn there is only one zfileh opened for zfile.
def
fileh_open
(
self
,
_use_wcfs
=
None
):
def
fileh_open
(
self
,
_use_wcfs
=
None
):
if
_use_wcfs
is
None
:
if
_use_wcfs
is
None
:
_use_wcfs
=
self
.
_default_use_wcfs
()
_use_wcfs
=
self
.
_default_use_wcfs
()
...
@@ -629,10 +626,8 @@ class ZBigFile(LivePersistent):
...
@@ -629,10 +626,8 @@ class ZBigFile(LivePersistent):
# BigFileH wrapper that also acts as DataManager proxying changes back to ZODB
# BigFileH wrapper that also acts as DataManager proxying changes ZODB <- virtmem
# objects at two-phase-commit (TPC) level.
# at two-phase-commit (TPC), and ZODB -> virtmem on objects invalidation.
# XXX and ZODB -> virtmem invalidation.
# XXX split into _ZBigFileH + _ZSync ?
#
#
# NOTE several fileh can be opened for ZBigFile - and this does not
# NOTE several fileh can be opened for ZBigFile - and this does not
# conflict with the way ZODB organises its work - just for fileh
# conflict with the way ZODB organises its work - just for fileh
...
...
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