]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
Objecter: resend linger ops on any interval change
authorJosh Durgin <josh.durgin@inktank.com>
Mon, 20 Oct 2014 20:29:13 +0000 (13:29 -0700)
committerJosh Durgin <josh.durgin@inktank.com>
Thu, 23 Oct 2014 20:57:27 +0000 (13:57 -0700)
commitcb9262abd7fd5f0a9f583bd34e4c425a049e56ce
tree5c036c29261829bbebf1f1e415d67b65bfd0b9a3
parent8a9b953b7ca29574f3c6db2dc06732c7d06a9109
Objecter: resend linger ops on any interval change

Watch/notify ops need to be resent after a pg split occurs, as well as
a few other circumstances that the existing objecter checks did not
catch.

Refactor the check the OSD uses for this to add a version taking the
more basic types instead of the whole OSD map, and stash the needed
info when an op is sent.

Fixes: #9806
Backport: giant, firefly, dumpling
Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
src/osd/osd_types.cc
src/osd/osd_types.h
src/osdc/Objecter.cc
src/osdc/Objecter.h