Skip to content

Commit bcc9b99

Browse files
jordanhunt22Convex, Inc.
authored and
Convex, Inc.
committed
Fix ordering on retention manager shutdown (#24346)
GitOrigin-RevId: 1ade3a6bb1d42d3c904bb05fe65668b2c1729133
1 parent f646401 commit bcc9b99

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/database/src/retention.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,9 +352,9 @@ impl<RT: Runtime> LeaderRetentionManager<RT> {
352352
}
353353

354354
pub fn shutdown(&self) {
355-
self.advance_min_snapshot_handle.lock().shutdown();
356355
self.deletion_handle.lock().shutdown();
357356
self.document_deletion_handle.lock().shutdown();
357+
self.advance_min_snapshot_handle.lock().shutdown();
358358
}
359359

360360
/// Returns the timestamp which we would like to use as min_snapshot_ts.

0 commit comments

Comments
 (0)