Skip to content

Commit

Permalink
add .crc files to metadata cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan Aston committed Oct 11, 2023
1 parent 1880bf4 commit bd48864
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rust/src/action/checkpoints.rs
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ pub async fn cleanup_expired_logs_for(
) -> Result<i32, ProtocolError> {
lazy_static! {
static ref DELTA_LOG_REGEX: Regex =
Regex::new(r"_delta_log/(\d{20})\.(json|checkpoint).*$").unwrap();
Regex::new(r"_delta_log/(\d{20})\.(json|crc|checkpoint).*$").unwrap();
}

let mut deleted_log_num = 0;
Expand Down

0 comments on commit bd48864

Please sign in to comment.