Maximum backup count is limited to 6. Setting bigger than 6 has no effect.
--
You received this message because you are subscribed to the Google Groups "Hazelcast" group.
To post to this group, send email to haze...@googlegroups.com.
To unsubscribe from this group, send email to hazelcast+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/hazelcast?hl=en.
Also, what was the rational for limiting to 6 backup copies?
Regards,
Liming
PartitionInfo.MAX_REPLICA_COUNT default is 7. 1 for owner 6 for backups.
> Also, what was the rational for limiting to 6 backup copies?
For me, even 6 backup is too much. You should consider using NearCache instead.
PartitionInfo.MAX_REPLICA_COUNT can be configurable in the future but
lower the number, better. Because migration process in Hazelcast will
migrate each replica separately and higher replica-count can lead to
much longer migration times. For smoother performance keep that number
as low as possible.
There is no master-slave in backup. Warning message has nothing to do
with backups. It is for us to double check if the cluster-state is
right. From your scenario, things look very good. Master in this
message means 'the oldest member in the cluster'. A was the oldest
member and you closed it so as the warning message says you can ignore
the message.
-talip
Not correct! First of all backup-count doesn't dictate the number of
nodes backup data will be on.
Even if you had backup-count=1, A -can- be backed up on B, C and D!!!
backup-count 1 means there will be
only one backup copy on the other nodes.
> But I can see backup data
> in node D as follows:
>
> Number of Entries: 100
> Own Entry: 24, Backup Entry: 39
Normal. 39 backup entries of A, B, and C. Each node potentially can
have backup entries of every other node in the cluster.
Say you have 2TB data on 50 node cluster; each node storing 20GB
primary, 20GB backup data (assuming backup-count=1). Let's focus on
one of the nodes, say node3. 20GB primary data that node3 has will be
backed up by all 49 other nodes each backing up 1/49th of 20GB. If
node3 dies, each member will own 1/49th of its data; notice that no
migration is needed and cluster is still well-balanced! So backup
mechanism is designed in a way that there will no need to rebalance
after crashes. Say you added 5 more nodes. There is no immediate
action to be taken by the cluster; Hazelcast will slowly migrate some
of the data (primary and backup) to the new nodes.
Also note that if you have backup-count = 2 then there will be 3
copies of each entry, one primary and two backups. That didn't change
at all. Only backup distribution logic changed.
-talip
-talip