]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osdc: fix lingerOp stray 36694/head
authorSong Shun <song.shun3@zte.com.cn>
Mon, 17 Aug 2020 00:40:21 +0000 (08:40 +0800)
committerSong Shun <song.shun3@zte.com.cn>
Tue, 18 Aug 2020 09:13:56 +0000 (17:13 +0800)
commit65d05fdd579d21dd57b72b1d9148380bc6074269
tree16a186ce11da83d3c87f16773191ce02d634aa2f
parente5e1e3006a8d9316581b35bb66897b7b401e5d5f
osdc: fix lingerOp stray

  when linger ping failed with error, like ENOTCONN
  last_error set to error.
  after that, last_error will never recovery to succecss(0),
  even reconnecting successfully, which stops from sending linger ping to osd.
  as a result, this normal client ** can't receive notify message **
  after osd_client_watch_timeout goes away.

Fixes: https://tracker.ceph.com/issues/47004
Signed-off-by: Song Shun <song.shun3@zte.com.cn>
src/osdc/Objecter.cc