Commit be061f93 authored by Kirill Smelkov's avatar Kirill Smelkov

.

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