I went through several related topics here and it seems the topic is still open, official documentation does not cover it so here we are.
- There's a cluster with N members in one group
- There's one distributed map
- The map has persistence store backed up by MongoDB
- Number of backups is 1
- Write-through is enabled
- Map is supposed to be populated at startup
- Data in DB is too big to be stored solely by one member
The questions are:
- To make write operations working correctly, all map members have to have MapStore enabled, as they write only partitions they own?
- When cluster is starting, should loadKeys() implementation load only subset of data, or it should try to load entire data set and Hazelcast partitioning will take care of keys distribution?
- If both scenarios from previous Q are valid, which one is more efficient?