Commit be061f93 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent c68cf93c
......@@ -699,6 +699,7 @@ pair<FileH, error> _Conn::open(zodb::Oid foid) {
xerr::Contextf E("%s: open f<%s>", v(wconn), v(foid));
etrace("");
retry:
wconn._filehMu.Lock();
if (wconn._downErr != nil) {
......@@ -712,7 +713,6 @@ pair<FileH, error> _Conn::open(zodb::Oid foid) {
//
// XXX -> better teach wcfs to reject "watch <foid> @at" for @at where f did not existed.
retry:
FileH f; bool ok;
tie(f, ok) = wconn._filehTab.get_(foid);
if (ok) {
......
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