Skip to content

[Feature Request]: Avoid data corruption in slow Get #850

@nickyc975

Description

@nickyc975

Describe your feature request

Currently Mooncake Store relies on lease to protect objects from eviction and removing during data transferring. However, if data transfer takes too long (because of huge object or poor network), objects may be evicted or removed before the transfer is completed, causing the client to read corrupted data.

A simple solution is to check whether the objects are still valid after completing a long-time transmission, then discard read data of invalid objects. This may slightly degrade the performance, so maybe we should make it configurable.

Before submitting a new issue...

  • Make sure you already searched for relevant issues and read the documentation

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