Skip to content

Log block offset when write finished #51

Description

@Eric5553

Currently, we support multi-write, but there is still one problem.

Suppose two writer ActiveStatus opened, they don't know each other's Eof if no gwFlush was issued. To overcame this, we need to update block Eof once we finished a gwWrite operation or switched to next block. By doing this, any opening thread will know the updated Eof by checking the SharedMemBucket Eof field.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

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