failpoint before-timeline-gc should use pausable_failpoint!

This commit is contained in:
Christian Schwarz
2024-03-23 14:12:48 +00:00
parent 6dca7c6b28
commit 2e95f504a8

View File

@@ -3837,7 +3837,7 @@ impl Timeline {
};
let timer = self.metrics.garbage_collect_histo.start_timer();
fail_point!("before-timeline-gc");
pausable_failpoint!("before-timeline-gc");
// Is the timeline being deleted?
if self.is_stopping() {