mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-11-13 23:39:33 +01:00
filer: retry deletes refused for an offline replica
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
edae1ac31a
commit
7f25ccf119
2 files changed
+2
No files matched your search
@@ -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
|
||||
|
||||
@@ -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"},
|
||||
|
||||
Reference in new issue
Block a user