Set<RecordReplicationInfo> recordReplicationInfos = dataEntry.getValue();
final String mapName = dataEntry.getKey();
RecordStore recordStore = mapService.getRecordStore(getPartitionId(), mapName);
for (RecordReplicationInfo recordReplicationInfo : recordReplicationInfos) {
Data key = recordReplicationInfo.getKey();
Record newRecord = mapService.createRecord(mapName, key, recordReplicationInfo.getValue(), -1, false);
mapService.applyRecordInfo(newRecord, mapName, recordReplicationInfo);
// put record.
final Record existingRecord = recordStore.putRecord(key, newRecord);
// size estimator calculations.
final SizeEstimator sizeEstimator = recordStore.getSizeEstimator();