Files
seaweedfs/weed/storage/erasure_coding
Chris LuandClaude Opus 5.5 15488c1af6 storage, seaweed-volume: ask every delisted EC shard holder, keep a reinstalled hint (#12900)
* storage: ask every delisted EC shard holder for a delete

Any one delisted holder may have journaled the needle's delete, but the
hint read stopped at the first holder that answered live. Ask each one
under its own deadline and take a deleted answer from any; forget only
the holders that failed.

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

* storage: keep an EC read hint a lookup reinstalled during a failed read

Comparing addresses cannot tell a hint from one a lookup removed and
installed again for the same holder while the read was in flight, and
that holder may have journaled a delete in between. Count hint changes
and forget failed holders only if none happened.

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

* seaweed-volume: take a deleted EC shard answer as soon as it arrives

A deleted answer was kept only if the stream ended or failed after it;
under the read hint's timeout, a holder that stalled after answering
deleted lost the answer and the read rebuilt the needle. Return on the
deleted message instead.

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

* seaweed-volume: ask every delisted EC shard holder for a delete

Mirror Go's askEcShardReadHints: any one delisted holder may have
journaled the needle's delete, but the hint read stopped at the first
holder that answered live. Ask each one under its own timeout, take a
deleted answer from any, and forget only the holders that failed.

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

* seaweed-volume: keep an EC read hint a lookup reinstalled during a failed read

Mirror Go's ShardReadHintsRevision: comparing addresses cannot tell a
hint from one a lookup removed and installed again for the same holder
while the read was in flight. Count hint changes and forget failed
holders only if none happened.

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

* storage: forget failed EC read hints when another holder answers deleted

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

* seaweed-volume: forget failed EC read hints when another holder answers deleted

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

* seaweed-volume: keep EC read hint revisions unique across volume remounts

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 13:09:11 -08:00
..
2019-05-15 01:02:00 -07:00
2019-05-15 01:02:00 -07:00