]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
Objecter: resend linger ops on any interval change 5062/head
authorJosh Durgin <josh.durgin@inktank.com>
Mon, 20 Oct 2014 20:29:13 +0000 (13:29 -0700)
committerNathan Cutler <ncutler@suse.com>
Wed, 24 Jun 2015 09:38:52 +0000 (11:38 +0200)
commitd296120c144a62794483338fd696ca8089778e84
treefd336fbfbf708fdcd0d28f9067dd8daa4a710e85
parenta44b7b4bd870cc72e50a49900cd81fde6d40845b
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>
(cherry picked from commit cb9262abd7fd5f0a9f583bd34e4c425a049e56ce)

Conflicts:
src/osd/osd_types.cc
src/osdc/Objecter.cc
            Minor differences.
src/osd/osd_types.cc
src/osd/osd_types.h
src/osdc/Objecter.cc
src/osdc/Objecter.h