test storage server behaviour for bad container files or chunk objects #2025

Open
opened 2013-07-17 13:13:04 +00:00 by daira · 5 comments
daira commented 2013-07-17 13:13:04 +00:00
Owner

The behaviour of a storage server on shares with a corrupt container (bad header or inconsistent length) is insufficiently tested. We should simulate various kinds of container corruption (also on a subset of shares in a shareset that has more than one share), to test that the correct errors are raised.

See for example this bug, which showed that raising CorruptStoredShareError on an immutable share with an inconsistent container length was untested.

Note that the code and the intended behaviour (see #1566) has changed on the cloud branch so that is what we should test. The cloud backend has additional failure modes due to missing or inconsistent chunk objects.

The behaviour of a storage server on shares with a corrupt container (bad header or inconsistent length) is insufficiently tested. We should simulate various kinds of container corruption (also on a subset of shares in a shareset that has more than one share), to test that the correct errors are raised. See for example [this bug](https://github.com/LeastAuthority/tahoe-lafs/commit/fd819cea11599cc274b8e1d72bfce0fffea39296#L3R93), which showed that raising `CorruptStoredShareError` on an immutable share with an inconsistent container length was untested. Note that the code and the intended behaviour (see #1566) has changed on the cloud branch so that is what we should test. The cloud backend has additional failure modes due to missing or inconsistent chunk objects.
tahoe-lafs added the
code-storage
normal
defect
1.10.0
labels 2013-07-17 13:13:04 +00:00
tahoe-lafs added this to the soon milestone 2013-07-17 13:13:04 +00:00
tahoe-lafs changed title from test storage server behaviour for bad container files to test storage server behaviour for bad container files or chunk objects 2013-07-17 13:16:17 +00:00
tahoe-lafs modified the milestone from soon to 1.12.0 2013-07-22 20:50:59 +00:00
daira commented 2014-12-06 14:49:37 +00:00
Author
Owner

See also #2026.

See also #2026.

Milestone renamed

Milestone renamed
warner modified the milestone from 1.12.0 to 1.13.0 2016-03-22 05:02:25 +00:00

renaming milestone

renaming milestone
warner modified the milestone from 1.13.0 to 1.14.0 2016-06-28 18:17:14 +00:00

Moving open issues out of closed milestones.

Moving open issues out of closed milestones.
exarkun modified the milestone from 1.14.0 to 1.15.0 2020-06-30 14:45:13 +00:00
Owner

Ticket retargeted after milestone closed

Ticket retargeted after milestone closed
meejah modified the milestone from 1.15.0 to soon 2021-03-30 18:40:19 +00:00
Sign in to join this conversation.
No Milestone
No Assignees
4 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Reference: tahoe-lafs/trac-2024-07-25#2025
No description provided.