Commit 58f95123 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 82a68675
...@@ -581,7 +581,7 @@ error _Conn::resync(zodb::Tid at) { ...@@ -581,7 +581,7 @@ error _Conn::resync(zodb::Tid at) {
// XXX ^^^ not possible since wconn._filehMu is locked ? // XXX ^^^ not possible since wconn._filehMu is locked ?
// -> no, possible, wconn._filehMu became RWMutex // -> no, possible, wconn._filehMu became RWMutex
// //
// XXX we are still holding wconn._filehMu.R, so wconn._filehTab is the // NOTE we are still holding wconn._filehMu.R, so wconn._filehTab is the
// same as in previous pass above. // same as in previous pass above.
wconn._atMu.UnlockToRLock(); wconn._atMu.UnlockToRLock();
atMuWLocked = false; atMuWLocked = false;
...@@ -596,7 +596,6 @@ error _Conn::resync(zodb::Tid at) { ...@@ -596,7 +596,6 @@ error _Conn::resync(zodb::Tid at) {
zodb::Oid foid = fit.first; zodb::Oid foid = fit.first;
FileH f = fit.second; FileH f = fit.second;
// XXX locking ok? (protected by wconn._filehMu ?)
if (f->_state != _FileHOpened) if (f->_state != _FileHOpened)
continue; continue;
...@@ -610,7 +609,6 @@ error _Conn::resync(zodb::Tid at) { ...@@ -610,7 +609,6 @@ error _Conn::resync(zodb::Tid at) {
} }
} }
// wconn.at = at;
retok = true; retok = true;
return nil; return nil;
} }
......
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