Structs§
- WalPrune
Manager 🔒 - WalPruneManager manages all remote WAL related tasks in metasrv.
- WalPrune
Procedure Guard - WalPruneProcedureGuard is a guard for WalPruneProcedure. It is used to track the running WalPruneProcedures. When the guard is dropped, it will remove the topic name from the running procedures and release the semaphore.
- WalPrune
Procedure Tracker - Tracks running WalPruneProcedures and the resources they hold. A WalPruneProcedure is holding a semaphore permit to limit the number of concurrent procedures.
- WalPrune
Ticker 🔒 - WalPruneTicker is a ticker that periodically sends Events to the WalPruneManager. It is used to trigger the WalPruneManager to submit WalPruneProcedures.
Enums§
- Event
- Event is used to notify the WalPruneManager to do some work.