]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
PG: remove old log when we upgrade log version
authorSamuel Just <sam.just@inktank.com>
Tue, 20 Aug 2013 00:23:44 +0000 (17:23 -0700)
committerSage Weil <sage@inktank.com>
Tue, 20 Aug 2013 05:52:52 +0000 (22:52 -0700)
commitb3a9a8c4e5edff5431d8da71033047eced6bf985
treeee56690f8edf6c3254bbb1583c0b2c617ad64df9
parentc6005ccbaa482c62d7a6cbb387bdcf17f0e308d5
PG: remove old log when we upgrade log version

Otherwise the log_oid will be non-empty and the next
boot will cause us to try to upgrade again.

Fixes: #6057
Signed-off-by: Samuel Just <sam.just@inktank.com>
Reviewed-by: Sage Weil <sage@inktank.com>
(cherry picked from commit 1f851cb2489a95526de932ec6734ebf413e43490)
src/osd/PG.cc
src/osd/PGLog.h