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>
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 "$@"