Skip to content

Better exclusive control in log #428

@akiradeveloper

Description

@akiradeveloper

This is just an idea. No plan at the moment.

スクリーンショット 2024-10-20 10 23 34

The Raft log is logically separated into 4 regions and most of the case, a thread manipulates only one of them.

To gain the maximum concurrency in IO to the log, the implementation at the moment loses some sort of guarantees coming from Rust type system so we can barely be confident about the correctness. The implementation do consider the log property above however it is too implicit and hard to feel sure for readers.

The goal of this issue is design and implement nice types that still maintains the maximum concurrency but makes it more convincing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions