int partitionId = getPartitionId();
RecordStore recordStore = mapService.getRecordStore(partitionId, name);
Record record = recordStore.getRecord(dataKey);
if (record != null) {
updateSizeEstimator(-calculateRecordSize(record));
recordStore.deleteRecord(dataKey);
}
if (unlockKey) {
recordStore.forceUnlock(dataKey);
}
}