Skip to content

On Swift, when storing "large" amounts of data at once, s3backer chokes on requesting non-existent block files #234

@zilti

Description

@zilti

s3backer version 2.1.3, FreeBSD 14.2, using a Swift object storage container.

When storing larger amounts of data at once, s3backer runs into a problem that locks up the entire block device. It tries to request a block file that does not exist (yet). Swift replies with a 503 to that:

Mar  3 20:58:36 lyrion s3backer[12982]: rec'd 503 response: GET https://s3.pub1.infomaniak.cloud/datastore/000dc3b1
Mar  3 20:59:07 lyrion s3backer[12982]: giving up on: GET https://s3.pub1.infomaniak.cloud/datastore/000dc3b1

It seems that the block file is not meant to exist - or at least contain data - in the first place. My "workaround" currently is that when I encounter this error, I manually upload a 1-byte file with the requested name, wait for this error:

Mar  3 21:01:42 lyrion s3backer[12982]: read of block 000dc3b1 returned 1 != 1048576 bytes

and then delete it again. After that, s3backer properly creates and fills the missing block file.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions