storj/storage
paul cannon 2f04e20627 storage/filestore: better error message on data corruption
A user on the forum was seeing the error "bad message", which was not
very helpful. This case from the ext4 filesystem using the code EBADMSG
to indicate it detected an invalid CRC, suggesting disk corruption.

This change adds some explanatory information about probable disk
corruption to all errors coming from the (*blobInfo).Stat() call, which
is where storagenode fs corruption problems will usually manifest.

Refs: https://github.com/storj/storj/issues/5375
Change-Id: I87f4a800236050415c4191ef1a0fc952f9def315
2023-01-30 08:54:06 -06:00
..
boltdb all: replace deprecated ioutil 2022-10-31 15:50:41 +00:00
filestore storage/filestore: better error message on data corruption 2023-01-30 08:54:06 -06:00
redis all: fix error naming 2021-04-29 15:38:21 +03:00
storelogger all: fix dots 2020-07-16 14:58:28 +00:00
teststore all: fix dots 2020-07-16 14:58:28 +00:00
testsuite ci: optimize benchmarks 2021-10-08 19:42:40 +03:00
blob.go satellite/audit,storage: increase sleep delay in TestMaxVerifyCount 2021-09-10 15:30:37 +00:00
common.go all: fix linter complaints 2020-10-13 15:59:01 +03:00
listkeys.go storage: delete unused code and lower visibility of static iterator 2020-02-17 14:53:54 +00:00
listv2.go satellite/metainfo: avoid temporary list 2020-04-15 08:01:42 +00:00
util.go ci: fix lint errors 2021-05-17 13:37:31 +00:00