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
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Kirill Smelkov
wendelin.core
Commits
46fcdd2d
Commit
46fcdd2d
authored
Mar 05, 2020
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
9af4e092
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
6 deletions
+4
-6
wcfs/client/wcfs.cpp
wcfs/client/wcfs.cpp
+4
-6
No files found.
wcfs/client/wcfs.cpp
View file @
46fcdd2d
...
@@ -718,10 +718,9 @@ error _Conn::resync(zodb::Tid at) {
...
@@ -718,10 +718,9 @@ error _Conn::resync(zodb::Tid at) {
fmt
::
sprintf
(
"watch %s @%s"
,
v
(
foid
),
v
(
at
)));
fmt
::
sprintf
(
"watch %s @%s"
,
v
(
foid
),
v
(
at
)));
if
(
err
!=
nil
)
if
(
err
!=
nil
)
return
E
(
err
);
return
E
(
err
);
if
(
ack
!=
"ok"
)
{
if
(
ack
!=
"ok"
)
return
E
(
fmt
::
errorf
(
"%s"
,
v
(
ack
)));
return
E
(
fmt
::
errorf
(
"%s"
,
v
(
ack
)));
}
}
}
retok
=
true
;
retok
=
true
;
return
nil
;
return
nil
;
...
@@ -749,9 +748,8 @@ retry:
...
@@ -749,9 +748,8 @@ retry:
return
make_pair
(
nil
,
E
(
err
));
return
make_pair
(
nil
,
E
(
err
));
}
}
// TODO ensure f<foid>@ wconn.at exists
// TODO ensure f<foid>@ wconn.at exists - else we get pins to non-existing
// TODO else we get pins to non-existing state from wcfs, pinner replies nak, wcfs sends SIGBUS.
// state from wcfs, pinner replies nak, wcfs sends SIGBUS.
//
// TODO -> better teach wcfs to reject "watch <foid> @at" for @at where f did not existed.
// TODO -> better teach wcfs to reject "watch <foid> @at" for @at where f did not existed.
// (see test_wcfs_watch_before_create)
// (see test_wcfs_watch_before_create)
...
...
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