Files
seaweedfs/weed/stats
Chris LuandClaude Opus 5.5 46fe0f10da volume: count failed EC shard copies by reason (#13068)
* volume: count failed EC shard copies by reason

Each failed VolumeEcShardsCopy now increments
SeaweedFS_volumeServer_ec_shard_copy_failures_total{collection,reason} and
logs the volume, shards, source and reason. Reasons: source_not_found,
empty_index, no_space, timeout, io_error, other.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* grafana: chart EC shard copy failures by reason

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* volume(rs): count failed EC shard copies by reason

Mirrors the Go volume server: each failed VolumeEcShardsCopy increments
SeaweedFS_volumeServer_ec_shard_copy_failures_total{collection,reason}
with the same reasons and logs the volume, shards, source and reason.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* volume: classify wrapped gRPC NotFound and DeadlineExceeded copy errors

A source status that the destination wraps as text keeps its code only as
"code = NotFound" (Go) or the code's description (Rust), so match those
too.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* volume(rs): record EC copy failures inside the copy task

The copy keeps running after the caller cancels, so its failure is
reported from the spawned task; a join error is reported by the handler.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 15:22:00 -08:00
..
2026-02-20 18:42:00 -08:00
2026-02-20 18:42:00 -08:00