Commit 46fcdd2d authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 9af4e092
...@@ -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)
......
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