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
090ce48d
Commit
090ce48d
authored
Feb 01, 2019
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
80f086e1
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
wcfs/wcfs.go
wcfs/wcfs.go
+6
-1
wcfs/wcfs_test.py
wcfs/wcfs_test.py
+0
-2
No files found.
wcfs/wcfs.go
View file @
090ce48d
...
@@ -657,7 +657,12 @@ func (root *Root) zhandle1(zevent zodb.CommitEvent) {
...
@@ -657,7 +657,12 @@ func (root *Root) zhandle1(zevent zodb.CommitEvent) {
}
}
// resync .zhead to zevent.tid
// 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
// notify .wcfs/zhead
for
sk
:=
range
gdebug
.
zheadSockTab
{
for
sk
:=
range
gdebug
.
zheadSockTab
{
...
...
wcfs/wcfs_test.py
View file @
090ce48d
...
@@ -208,8 +208,6 @@ def test_wcfs():
...
@@ -208,8 +208,6 @@ def test_wcfs():
os
.
stat
(
"%s/%s"
%
(
bigpath
,
h
(
last
.
_p_oid
)))
os
.
stat
(
"%s/%s"
%
(
bigpath
,
h
(
last
.
_p_oid
)))
assert
exc
.
value
.
errno
==
EINVAL
assert
exc
.
value
.
errno
==
EINVAL
return
# path to f under wcfs
# path to f under wcfs
fpath
=
"%s/%s"
%
(
bigpath
,
h
(
f
.
_p_oid
))
fpath
=
"%s/%s"
%
(
bigpath
,
h
(
f
.
_p_oid
))
print
print
...
...
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