Commit 57fb96f5 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent d46fba7b
......@@ -560,8 +560,6 @@ error _Conn::resync(zodb::Tid at) {
bool retok = false;
defer([&]() {
if (!retok)
// XXX log?
//fprintf(stderr, "\n\nTODO: bring wconn + fileh + mmaps down on error\n\n\n");
wconn.close(); // ignore error
});
......@@ -572,7 +570,7 @@ error _Conn::resync(zodb::Tid at) {
// 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._headWait(at);
if (err != nil)
return err; // XXX -> wconn down on err XXX + all return vvv
return err;
// lock wconn._atMu.W . This excludes everything else, and in
......
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