The log trimming case wasn't quite right. Before HEAD^ we were
rolling forward too aggressively and miscalculating the can_rollforward_to,
which affected the trim_to calculation.
Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit
4f9fdd98e2dde3979ec88a3f761d76f7b297415c)
rados -p test rm foo
test_log_size $PGID 3
rados -p test rm foo
- test_log_size $PGID 4
-
+ test_log_size $PGID 3
rados -p test rm foo
- test_log_size $PGID 2
+ test_log_size $PGID 3
+ rados -p test rm foo
+ test_log_size $PGID 3
}
main repro-long-log "$@"