]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd/PrimaryLogPG: fix the oi size mismatch with real object size 21408/head
authorPeng Xie <peng.hse@xtaotech.com>
Fri, 13 Apr 2018 08:08:00 +0000 (16:08 +0800)
committerPeng Xie <peng.hse@xtaotech.com>
Fri, 13 Apr 2018 08:40:23 +0000 (16:40 +0800)
commit4a34f11697ee7169ae0be77ae99dd64647637ddc
treebc6f93a6a6e9a2aaf80e8e6e7c432ec7490199c9
parent9386703e05556d38f1c9c6feb68fdef0d32853eb
osd/PrimaryLogPG: fix the oi size mismatch with real object size

oi (object_info_t) size mismatch with the real object size on the
persistent backend, which was introduced by the old write with
a smaller truncate_seq falsefully modified the oi size.

Fixes: http://tracker.ceph.com/issues/23701
Signed-off-by: Peng Xie peng.hse@xtaotech.com
src/osd/PrimaryLogPG.cc