Commit a0afd74a authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 28c30e01
...@@ -589,15 +589,13 @@ error _Conn::resync(zodb::Tid at) { ...@@ -589,15 +589,13 @@ error _Conn::resync(zodb::Tid at) {
etrace(""); etrace("");
wconn._filehMu.RLock(); wconn._filehMu.RLock();
err = wconn._downErr(); err = wconn._downErr;
wconn._filehMu.RUnlock(); wconn._filehMu.RUnlock();
wconn._atMu.RUnlock(); wconn._atMu.RUnlock();
if (err != nil) if (err != nil)
return E(err); return E(err);
// XXX at ^ (increases) -> rejected by wcfs XXX or also precheck here?
// wait for wcfs/head to be >= at. // wait for wcfs/head to be >= at.
// we need this e.g. to be sure that head/f.size is at least as big that it will be @at state. // we need this e.g. to be sure that head/f.size is at least as big that it will be @at state.
err = wconn._wc->_headWait(at); err = wconn._wc->_headWait(at);
......
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