You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use lease_lost_error helper in LeaderRetentionManager::advance_timestamp (#37252)
# Use lease_lost_error helper in LeaderRetentionManager::advance_timestamp
## Description
This PR changes the direct `LeaseLostError` creation in `LeaderRetentionManager::advance_timestamp` to use the `lease_lost_error` helper function.
## Changes
- Added import for `lease_lost_error` from `common::errors`
- Replaced direct `anyhow::Error::new(LeaseLostError)` with `lease_lost_error()`
## Testing
- Ran `just format-rust` and `just lint-rust database`
GitOrigin-RevId: be565b3690a483373606cb0f99e4db9d8c9b31ff
0 commit comments