Hi Andrey,

>  let suppose I would like 3/2N + 1 nodes to participate in quorum. Is it
possible ?

I guess you mean (2/3)N + 1 ?  Otherwise, (3/2)N + 1 > N which is
impossible, and 3/(2N) + 1 is too small for a slightly large N.

No, Ratis currently does not support it.  And yes, we are welcome to
contribute such a feature!  We could support a quorum of rN for r
configurable with 1 >= r > 0.5.

Tsz-Wo

On Thu, Jul 21, 2022 at 1:21 AM Andrey Lomakin
<[email protected]> wrote:

> Hi  Tsz-Wo.
> May I ask you one more question?
> Is it possible to regulate amount of nodes in quorum, what I mean if that
> is fixed that N/2 + 1 nodes should participate in quorum or I can setup of
> for example my own number which has to be of course high enough, let
> suppose I would like 3/2N + 1 nodes to participate in quorum.
> Is it possible ?
>
> If that is not possible, will you accept such a contribution ?
>
> On Wed, Jul 20, 2022 at 7:57 PM Andrey Lomakin <
> [email protected]>
> wrote:
>
> > Yes, thank you very much.
> >
> > On Wed, Jul 20, 2022 at 6:40 PM Tsz Wo Sze <[email protected]> wrote:
> >
> >> Hi Andrey,
> >>
> >> We may set a higher priority for the predefined master.  Then, the lower
> >> priority servers won't become a leader.  Is it something that you want
> to
> >> do?
> >>
> >> Tsz-Wo
> >>
> >>
> >> On Wed, Jul 20, 2022 at 12:14 AM Andrey Lomakin
> >> <[email protected]> wrote:
> >>
> >> > Hi Tsz-Wo.
> >> > Thank you for your prompt response.
> >> > I meant a different thing.
> >> >
> >> > We at the first stage would like to use replication mechanics of Raft
> >> but
> >> > would like to have a predefined master in the cluster without ability
> to
> >> > change it.
> >> > Is it possible to achieve that?
> >> >
> >> >
> >> > On Tue, Jul 19, 2022 at 5:58 PM Tsz Wo Sze <[email protected]>
> wrote:
> >> >
> >> > > Hi Andrey,
> >> > >
> >> > > Do you mean running a single node Ratis cluster?  Yes, you can do
> it.
> >> > >
> >> > > Tsz-Wo
> >> > >
> >> > > On Tue, Jul 19, 2022 at 8:56 AM Andrey Lomakin
> >> > > <[email protected]> wrote:
> >> > >
> >> > > > Hi guys.
> >> > > > I am a developer of the Xodus KV database created and supported by
> >> > > > JetBrains.
> >> > > >
> >> > > > We are considering integration of Apache Ratis in our application
> >> and
> >> > > > database step by step (no promises though).
> >> > > >
> >> > > > Could you clarify is it possible to setup a fixed master node for
> >> the
> >> > > > cluster at this moment avoiding usage of membership protocol ?
> >> > > >
> >> > >
> >> >
> >>
> >
>

Reply via email to