Commit 131553f9 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent fd1f8bad
...@@ -664,7 +664,7 @@ class ZBigFile(LivePersistent): ...@@ -664,7 +664,7 @@ class ZBigFile(LivePersistent):
# TODO maintain zconn -> wconn in sync (p_jar -> wconn) # TODO maintain zconn -> wconn in sync (p_jar -> wconn)
zstor = self._p_jar.db().storage zstor = self._p_jar.db().storage
zurl = wcfs.zstor_2zurl(zstor) zurl = wcfs.zstor_2zurl(zstor)
wc = wcfs.join(zurl, shared=True) wc = wcfs.join(zurl)
wconn = wc.connect(p_jar.at()) wconn = wc.connect(p_jar.at())
wcfileh = wconn.open(self._p_oid) wcfileh = wconn.open(self._p_oid)
......
...@@ -211,7 +211,7 @@ def _default_autostart(): ...@@ -211,7 +211,7 @@ def _default_autostart():
# If wcfs for that zurl was already started, join connects to it. # If wcfs for that zurl was already started, join connects to it.
# Otherwise it starts wcfs for zurl if autostart is True. # Otherwise it starts wcfs for zurl if autostart is True.
# #
# For the same zurl join returns the WCFS object. # For the same zurl join returns the same WCFS object.
def join(zurl, autostart=_default_autostart()): # -> WCFS def join(zurl, autostart=_default_autostart()): # -> WCFS
mntpt = _mntpt_4zurl(zurl) mntpt = _mntpt_4zurl(zurl)
with _wcmu: with _wcmu:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment