]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osdc: fix Journaler write error handling 3047/head
authorJohn Spray <john.spray@redhat.com>
Thu, 6 Nov 2014 11:46:29 +0000 (11:46 +0000)
committerJohn Spray <john.spray@redhat.com>
Mon, 1 Dec 2014 14:37:52 +0000 (14:37 +0000)
commit9158326eeb69312283a6e8174352f36ea30d0cbf
treeb04d7534089332720e6cda011164034f6317e07c
parent28e27080e25f95851039a0cc4e1c1d06b2cd597d
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>
(cherry picked from commit 762eda88a18ba707bd5410f38e21e95c4a6b3a46)
src/osdc/Journaler.cc
src/osdc/Journaler.h