]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd/PrimaryLogPG: fix recovering hang when have unfound objects 16558/head
authorhuangjun <huangjun@xsky.com>
Tue, 25 Jul 2017 11:08:31 +0000 (11:08 +0000)
committerhuangjun <huangjun@xsky.com>
Tue, 25 Jul 2017 11:08:31 +0000 (11:08 +0000)
commitbb33fd854506b2449cd468042cc89b4fa0c84234
tree2c2242886bcddc36982ea73031d1a2e194aab69d
parent62b6d2d92375e0c981349f155db7953c10f8a46f
  osd/PrimaryLogPG: fix recovering hang when have unfound objects

  pg_log.get_missing() return type is pg_missing_tracker_t,
  if we use:
    const pg_missing_t &missing = pg_log.get_missing();
  the reference object(missing) will not change when we changed the
  pglog's missing set in recover_primary()/recover_got(),which will
  result the recovering hang.

Signed-off-by: huangjun <huangjun@xsky.com>
src/osd/PrimaryLogPG.cc