hazelcast/hazelcast — pull request #4269 by mdogan (2014-12-09 17:40:11+00:00)
Title: InternalPartition replica addresses should be updated atomically

InternalPartition replica addresses should be updated atomically instead of one-by-one to avoid inconsistent partition table reads. Also there's no need to update addresses using a CAS since InternalPartition update methods are called under InternalPartitionServiceImpl.lock.

Fixes #4256