Skip to content

[ObjectStore] MultipartUpload::complete fails on WSL when writing to /mnt/ #275

@madesroches

Description

@madesroches

Describe the bug
Using LocalFileSystem on WSL + BufWriter I get the following error:
file.metadata() fails after std::fs::rename with FileNotFound but is reported as an aborted upload

To Reproduce
Use object_store::buffered::BufWriter to write a big enough file to the windows filesystem when running though WSL.

Expected behavior
File write succeeds.

Additional context
Using object_store-0.11.0.
Our services are actually writing to S3, but the local dev environment writes to the local filesystem. I could not reproduce the bug when writing to the linux filesystem, but it happens every time I write a 50MB+ file to the windows file system with the exe running on the linux side.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions