]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osdc: fix Journaler write error handling 2870/head
authorJohn Spray <john.spray@redhat.com>
Thu, 6 Nov 2014 11:46:29 +0000 (11:46 +0000)
committerJohn Spray <john.spray@redhat.com>
Thu, 6 Nov 2014 11:46:29 +0000 (11:46 +0000)
commit762eda88a18ba707bd5410f38e21e95c4a6b3a46
treed57e7fa196de7abe9891f48b8527d1d141278c85
parent29d7786e030efde1a4aff134d9367865d9cc7d33
osdc: fix Journaler write error handling

Since we started wrapping the write error
handler in a finisher, multiple calls to
handle_write_error would hit the assert()
on the second call before the actual
handler had been called (at the other end
of the finisher) from the first call.

The symptom was that the MDS was intermittently
failing to respawn on blacklist, seen in #10011.

Signed-off-by: John Spray <john.spray@redhat.com>
src/osdc/Journaler.cc
src/osdc/Journaler.h