offset);
if (commitsEnabled)
{
- Map<String, Long> removed = recordHandler.removePartition(partition);
+ Map<String, AdderResult> removed = recordHandler.removePartition(partition);
stateRepository.save(new StateDocument(partition, removed, offset));
}
else