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
5e45a6ee
Commit
5e45a6ee
authored
Mar 04, 2020
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
d750f5e5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
wcfs/client/client_test.py
wcfs/client/client_test.py
+1
-1
wcfs/client/wcfs.cpp
wcfs/client/wcfs.cpp
+5
-0
No files found.
wcfs/client/client_test.py
View file @
5e45a6ee
...
...
@@ -189,7 +189,7 @@ def test_wcfs_client_down_efault():
at2
=
t
.
commit
()
at3
=
t
.
commit
(
zf2
,
{
1
:
'β3'
,
2
:
'γ3'
})
wconn
=
t
.
wc
.
connect
(
at1
)
wconn
=
t
.
wc
.
connect
(
at1
)
# XXX -> at3
defer
(
wconn
.
close
)
fh1
=
wconn
.
open
(
zf1
.
_p_oid
);
defer
(
fh1
.
close
)
...
...
wcfs/client/wcfs.cpp
View file @
5e45a6ee
...
...
@@ -682,6 +682,11 @@ pair<FileH, error> _Conn::open(zodb::Oid foid) {
return
make_pair
(
nil
,
E
(
err
));
}
// XXX ensure f<foid> @ wconn.at exists?
// XXX else we get pins to non-exists state from wcfs.
//
// XXX -> better teach wcfs to reject "watch <foid> @at" for @at where foid did not existed.
retry:
FileH
f
;
bool
ok
;
tie
(
f
,
ok
)
=
wconn
.
_filehTab
.
get_
(
foid
);
...
...
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