]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd: fix wrong calculation to continue copy chunks
authormyoungwon oh <ohmyoungwon@gmail.com>
Tue, 9 Feb 2021 10:21:47 +0000 (19:21 +0900)
committermyoungwon oh <ohmyoungwon@gmail.com>
Mon, 29 Mar 2021 08:13:02 +0000 (17:13 +0900)
commit145fe0a7a363a00f43562270c7e4547d486bb1b3
treea7a016ef37e94a6a8a9c6851247686ea7990cf43
parent99c7c1621168950473dad5777f97419e2e23018f
osd: fix wrong calculation to continue copy chunks

If the last offset, which indicate the last copy completed, is less then
the offset of the last entry,
copy_some_manifest should be called to copy remaining chunks.
This commit fixes miscalculation to conitnue copy chunks.

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
src/osd/PrimaryLogPG.cc