Once we've identified that the inputs have changed, they've most likely deleted or added a single hiera key. So we should pull the existing set of hiera inputs and diff them in PuppetDB to decide what {{DELETE}} and {{INSERT}} commands to issue.
Once we've identified that the inputs have changed, they've most likely deleted or added a single hiera key. So we should pull the existing set of hiera inputs and diff them in PuppetDB to decide what {{DELETE}} and {{INSERT}} commands to issue which should substantially decrease the write load. Though we expect this to be substantially less important once the higher level inputs hash is added via PDB-4895.