]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
PrimaryLogPG: only trim up to osd_pg_log_trim_max entries at once 20851/head
authorJosh Durgin <jdurgin@redhat.com>
Thu, 8 Mar 2018 03:31:59 +0000 (22:31 -0500)
committerJosh Durgin <jdurgin@redhat.com>
Sat, 10 Mar 2018 01:02:26 +0000 (20:02 -0500)
commitffaf1428bdfda3cec4fb30ee797678e6e30cd370
tree5a63f93a90e4dea3e52eb3b8079da77a59e26636
parent7de0ffccad8ce6c0063fbd0a0882cad3c2467bd1
PrimaryLogPG: only trim up to osd_pg_log_trim_max entries at once

This prevents the fix for http://tracker.ceph.com/issues/22050 or
potential future bugs from causing too much latency by trimming too
many log entries at once.

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
(cherry picked from commit 1c15458a00e64d1fd0127ae171305b8f8afa6619)
qa/standalone/osd/repro_long_log.sh
src/osd/PrimaryLogPG.cc