]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd/: include version_t in extra_reqids with promote 3738/head
authorSamuel Just <sjust@redhat.com>
Thu, 12 Feb 2015 01:07:05 +0000 (17:07 -0800)
committerSamuel Just <sjust@redhat.com>
Thu, 12 Feb 2015 01:44:49 +0000 (17:44 -0800)
commit74d5ccf1b5a0422572c9a3463af8cc6fc808a88b
tree55a31b97d976ee8287e22d776598b9134d3ba674
parent890f5b6bd43bc32983b21baba60ee5e6e3b6e491
osd/: include version_t in extra_reqids with promote

Otherwise, we can't return the correct user version on a dup request.

Note: This patch does not handle compatilibity with the variant which
does not include the version_t field.  Since it's been less than 2 weeks
and we haven't had a release, I think that's ok since handling
compatilibity would require some overhead in the encode/decode
methods.

Fixes: 10830
Introduced (merge): b79c349067ab82b1ccb5d6cdac702f651b27a435
Signed-off-by: Samuel Just <sjust@redhat.com>
src/osd/PG.h
src/osd/PGLog.h
src/osd/ReplicatedPG.cc
src/osd/ReplicatedPG.h
src/osd/osd_types.cc
src/osd/osd_types.h
src/osdc/Objecter.h