Skip to content

Commit

Permalink
Retry on metastore timeout or unavailable error (#5182)
Browse files Browse the repository at this point in the history
  • Loading branch information
guilload authored Jul 2, 2024
1 parent 84572ea commit a209b6d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion quickwit/quickwit-proto/src/metastore/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,12 @@ impl Retryable for MetastoreError {
fn is_retryable(&self) -> bool {
matches!(
self,
Self::Connection { .. } | Self::Db { .. } | Self::Io { .. } | Self::Internal { .. }
Self::Connection { .. }
| Self::Db { .. }
| Self::Internal { .. }
| Self::Io { .. }
| Self::Timeout(_)
| Self::Unavailable(_)
)
}
}
Expand Down

0 comments on commit a209b6d

Please sign in to comment.