Skip to content

Commit 276988b

Browse files
committed
fixup! Add durable backup retry queue scaffolding for TierStore
Delete unused enqueue_async method on the backup retry queue
1 parent 145c4e2 commit 276988b

1 file changed

Lines changed: 0 additions & 15 deletions

File tree

src/io/tier_store.rs

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -990,21 +990,6 @@ where
990990
Ok(())
991991
}
992992

993-
/// Enqueues a failed backup operation for asynchronous retry.
994-
///
995-
/// This is the async enqueue path, used from asynchronous write/remove flows.
996-
/// Internally it reuses the synchronous implementation because queue mutation
997-
/// and local queue persistence are both synchronous operations.
998-
///
999-
/// Returns an error if the retry intent could not be durably persisted locally.
1000-
/// In that case, the op may still remain queued in memory for the current
1001-
/// process, but it is not guaranteed to survive a restart.
1002-
pub(crate) async fn enqueue_async(
1003-
&self, key: (String, String, String), op: PendingBackupOp,
1004-
) -> io::Result<()> {
1005-
self.enqueue_sync(key, op)
1006-
}
1007-
1008993
/// Removes a successfully retried entry from the in-memory queue and
1009994
/// best-effort persists the updated state.
1010995
///

0 commit comments

Comments
 (0)