]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
PGLog::merge_log: in tail extend case, log.log might be empty
authorSamuel Just <sjust@redhat.com>
Tue, 17 Mar 2015 17:07:03 +0000 (10:07 -0700)
committerxinxin shu <xinxin.shu@intel.com>
Wed, 1 Apr 2015 02:01:20 +0000 (10:01 +0800)
commit73cbb6f34a5a556dbbd4db2e6f81391d83447efd
tree389c96b35628331c67e896eaf7c3c87e924e106f
parent899738e10e82b50dcf7dfffe5cc83937179bf323
PGLog::merge_log: in tail extend case, log.log might be empty

Even if the tail != last_update, the log might be empty due to split
moving all entries into other logs.

Fixes: 10718
Signed-off-by: Samuel Just <sjust@redhat.com>
(cherry picked from commit f5a2aef3db29b99634250fd388a0c2d9b9a23d38)
src/osd/PGLog.cc