risingwave_storage::hummock::event_handler::uploader

Function take_before_epoch

source
fn take_before_epoch<T>(
    data: &mut BTreeMap<HummockEpoch, T>,
    epoch: HummockEpoch,
) -> BTreeMap<HummockEpoch, T>
Expand description

Take epoch data inclusively before epoch out from data