Commit 090ce48d authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 80f086e1
......@@ -657,7 +657,12 @@ func (root *Root) zhandle1(zevent zodb.CommitEvent) {
}
// resync .zhead to zevent.tid
//zhead.Resync(zevent.Tid) XXX reenable
// XXX -> Head.Resync()
// XXX zbf deacticate/activate
transaction.Current(zhead.txnCtx).Abort()
txn, ctx := transaction.New(context.Background()) // XXX bg ok?
zhead.Resync(txn, zevent.Tid)
zhead.txnCtx = ctx
// notify .wcfs/zhead
for sk := range gdebug.zheadSockTab {
......
......@@ -208,8 +208,6 @@ def test_wcfs():
os.stat("%s/%s" % (bigpath, h(last._p_oid)))
assert exc.value.errno == EINVAL
return
# path to f under wcfs
fpath = "%s/%s" % (bigpath, h(f._p_oid))
print
......
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