Function get_min_lsn_retry

Source
pub async fn get_min_lsn_retry(
    client: &mut Client,
    capture_instance: &str,
    max_retry_duration: Duration,
) -> Result<Lsn, SqlServerError>
Expand description

Returns the minimum log sequence number for the specified capture_instance, retrying if the log sequence number is not available.

See: https://learn.microsoft.com/en-us/sql/relational-databases/system-functions/sys-fn-cdc-get-min-lsn-transact-sql?view=sql-server-ver16