diff --git a/src/coord/src/coord.rs b/src/coord/src/coord.rs index 4f5dd503a2fce..0e3f3e633212d 100644 --- a/src/coord/src/coord.rs +++ b/src/coord/src/coord.rs @@ -1192,6 +1192,17 @@ impl Coordinator { fn persisted_table_allow_compaction(&self, since_updates: &[(GlobalId, Antichain)]) { let mut table_since_updates = vec![]; for (id, frontier) in since_updates.iter() { + // HACK: Avoid the "failed to compact persisted tables" error log at + // restart, by not trying to allow compaction on the minimum + // timestamp. + if !frontier + .elements() + .iter() + .any(|x| *x > Timestamp::minimum()) + { + continue; + } + // Not all ids will be present in the catalog however, those that are // in the catalog must also have their dependencies in the catalog as // well.