Sorry that I do not fully understand the problem.  Some questions below.

> But it is possible that due to transaction ordering the request with the
higher sequence number gets committed first and clients may process that
and skip over the write with the lower sequence number in the slower
transaction

Do you mean that there are multiple clients writing transactions
concurrently and the clients somehow maintain unique sequence numbers
associated with the transactions?

> Is there something that allows me to read/write the raft log directly at
an index?

Why do you need to read/write the raft log directly at an index?

Tsz-Wo


On Tue, Sep 19, 2023 at 8:02 PM Asad Awadia <[email protected]> wrote:

> I want to build a WAL-server
>
> Starting point was to put some data against a self generated sequence in a
> sorted map key value  store
>
> But it is possible that due to transaction ordering the request with the
> higher sequence number gets committed first and clients may process that
> and skip over the write with the lower sequence number in the slower
> transaction
>
> I wanted to know what is the best way to use ratis itself as the wal  - or
> any other approaches
>
> Is there something that allows me to read/write the raft log directly at
> an index?
>
> I am not looking for a daemon like log-service or bookkeeper but something
> more embedded in my own service
>

Reply via email to