filer: retry deletes refused for an offline replica

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Chris LuandClaude Opus 5.5 committed 2026-11-01 13:43:19 -08:00
1 parent edae1ac31a
commit 7f25ccf119
2 files changed
+2

No files matched your search

+1
View File
@@ -58,6 +58,7 @@ var retryablePatterns = []string{
"lookup failed", // Volume server discovery issues
"too many requests", // Rate limiting / backpressure
"try again", // Explicit retry suggestion
"replication copy count", // A replica is offline; deletes wait for it to return
}
// DeletionRetryItem represents a file deletion that failed and needs to be retried
+1
View File
@@ -192,6 +192,7 @@ func TestIsRetryableError(t *testing.T) {
{"service unavailable", true, "service unavailable"},
{"i/o timeout", true, "I/O timeout"},
{"broken pipe", true, "broken pipe"},
{"replication locations [1] is less than volume 9 replication copy count [2]", true, "replica offline"},
{"not found", false, "not found (not retryable)"},
{"invalid file id", false, "invalid input (not retryable)"},
{"", false, "empty error"},