]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd: do not forget pg_stat acks which failed to send 16702/head
authorhuangjun <huangjun@xsky.com>
Tue, 1 Aug 2017 12:24:19 +0000 (12:24 +0000)
committerhuangjun <huangjun@xsky.com>
Tue, 1 Aug 2017 12:24:19 +0000 (12:24 +0000)
commitedc737874d03bc2c012088816d8cfe4726d6dbc7
tree6aff0893d5cfb69492c00012935b8c6fb2e63455
parent62b6d2d92375e0c981349f155db7953c10f8a46f
  osd: do not forget pg_stat acks which failed to send

  If osd get network error when sending pg_stats, osd will
  resend the pg_stats with tid+1, so the former tid will remain
  in outstanding_pg_stats. In osd tick(), if the outstanding_pg_stats's
  size > osd_mon_report_max_in_flight(default:2), it will refuse to
  send pg_stats, that will block pg states from changing.
  Finally will fail qa tests like resolve_stuck_peering.py.

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