Commit 741c0d50 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 6ee26ca4
......@@ -366,11 +366,12 @@ error _Conn::_pinner(context::Context ctx) {
fprintf(stderr, "CRITICAL: %s\n", v(err));
fprintf(stderr, "CRITICAL: wcfs server will likely kill us soon.\n");
// mark the connection non-operational if the pinner fails.
// mark the connection non-operational if pinner fails.
//
// XXX go because wconn.close might deadlock wrt Conn.resync on
// wconn._filehMu, because Conn.resync sends "watch" updates under
// wconn._filehMu. If the pinner fails - we already have serious problems.
// wconn._filehMu (Conn.open and FileH.close send "watch" _without_
// wconn._filehMu). If pinner fails - we already have serious problems.
// TODO try to resolve the deadlock.
go([wconn]() {
wconn->close();
......
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