Skip to content

FasterLog - Commit failed with error code 87 with windows (relative path on a 4k sector disk) #943

@peterwishart

Description

@peterwishart

I found that running the samples on windows failed on some drives with:

FASTER.core.CommitFailureException: 'Commit of address range [xxx-yyy] failed with error code 87'

Turns out that the sector size defaults to 512 if a relative path is used to initialise FasterLog local storage.
Probably unlikely in production on windows due to where most apps store data.

I tested a fix locally, let me know if I should PR it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions