Function rusteron_archive::bindings::aeron_archive_purge_recording

source ยท
pub unsafe extern "C" fn aeron_archive_purge_recording(
    deleted_segments_count_p: *mut i64,
    aeron_archive: *mut aeron_archive_t,
    recording_id: i64,
) -> c_int
Expand description

Purge a stopped recording. i.e. Mark the recording as INVALID at the Archive and delete the corresponding segment files. The space in the Catalog will be reclaimed upon compaction.

@param deleted_segments_count_p out param set to the number of deleted segments @param aeron_archive the archive client @param recording_id the id of the stopped recording to be purged @return 0 for success, -1 for failure