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
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
Joshua
wendelin.core
Commits
adf80d7e
Commit
adf80d7e
authored
Dec 06, 2019
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
ae5432c0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
5 deletions
+8
-5
bigarray/array_zodb.py
bigarray/array_zodb.py
+6
-2
bigfile/file_zodb.py
bigfile/file_zodb.py
+2
-3
No files found.
bigarray/array_zodb.py
View file @
adf80d7e
...
...
@@ -19,9 +19,13 @@
# See COPYING file for full licensing terms.
# See https://www.nexedi.com/licensing for rationale and options.
"""
BigArray that can be persisted ZODB-way
"""
Package array_zodb provides BigArray backed by ZODB.
TODO text
ZBigArray provides BigArray with data stored in ZODB.
Please see documentation for BigArray (bigarray/__init__.py) and ZBigFile
(bigfile/file_zodb.py) as ZBigArray is just a minimal glue for those two and
inherits most of the properties and specifics from its parents.
"""
from
wendelin.bigarray
import
BigArray
...
...
bigfile/file_zodb.py
View file @
adf80d7e
...
...
@@ -90,7 +90,6 @@ speed::
ZBlk0 fast reads (default)
ZBlk1 small changes
Description of block formats follow:
To represent BigFile as ZODB objects, each file block is represented separately
...
...
@@ -124,7 +123,7 @@ access-time and DB size with just client storing 1 object per file block. This
will be our future approach after we teach NEO about object deduplication.
"""
#
file_zodb
organization
#
ZBigFile
organization
#
# As file pages are changed in RAM with changes being managed by virtmem
# subsystem, we need to propagate the changes to ZODB objects back at some time.
...
...
@@ -730,7 +729,7 @@ Connection.open = Connection_open
class
_ZBigFileH
(
object
):
# .zfile ZBigFile we were opened for
# # .wcfileh handle for ZBigFile in wcfs | None
# .zfileh handle for ZBigFile (overlayed over .wcfileh if .wcfile != ø)
# .zfileh handle for ZBigFile (overlayed over .wcfileh if .wcfile
h
!= ø)
# def __init__(self, zfile, wcfileh):
def
__init__
(
self
,
zfile
,
wc
):
# wc: wcfs.WCFS | None
...
...
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