mirror of
https://github.com/ceph/ceph
synced 2025-02-23 02:57:21 +00:00
PG: assemble_backlog - fix comparison error, tail is non-inclusive
Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
This commit is contained in:
parent
0115855abb
commit
8ba05c44ec
@ -782,7 +782,7 @@ void PG::assemble_backlog(map<eversion_t,Log::Entry>& omap)
|
||||
|
||||
// note the prior version
|
||||
if (le->prior_version == eversion_t() || // either new object, or
|
||||
le->prior_version >= log.tail) { // prior_version also already in log
|
||||
le->prior_version > log.tail) { // prior_version also already in log
|
||||
dout(15) << " skipping " << be << " (have " << *le << ")" << dendl;
|
||||
} else {
|
||||
be.version = le->prior_version;
|
||||
|
Loading…
Reference in New Issue
Block a user