On Dec 11, 12:36 pm, Talip Ozturk <
ta...@hazelcast.com> wrote:
> > I have some questions if you would be kind to ask:
> > I want to clarify how the data in a distributed map/list is
> > replicated. I mean let's say we have two servers, the data it's
> > partitioned half on one machine and half on another(I understand maybe
> > it's not exactly half, but is it partitioned , or there is all the
> > data as a copy on all the servers), if another machine joins the group
> > will the data be redistributed and every machine will get 1/3 of the
> > data or will receive a whole copy of the map/list?
>
> Everything is partitioned and backed up. so when the 3rd machine
> joins, each machine will eventually own 1/3 of the data, and hold
> backup data of other nodes if backup is configured (default
> backup-count is 1).
>
> > 2. What happens when we have say two machine, and one machine goes
> > down? Will some data be lost?
>
> We won't lose any data (that is the whole purpose of Hazelcast) as we
> already have backup for all data. Since you will have 2 machine
> remaining, each machine will own/manage 1/2 of the entire data and
> hold backup of the other node.
>