pub fn is_recovery_in_progress_error(db_error: &str) -> bool
Expand description
Permit recovery error Suppose Out Of Range Error happens in the following query:
SELECT sum0(v1) FROM t;
It would be a valid scenario from Sqlsmith. In that case we would trigger recovery for the materialized view. We could encounter this error on subsequent queries:
Barrier read is unavailable for now. Likely the cluster is recovering
Recovery should be successful after a while. Hence we should retry for some bound.