# File lib/rubyrep/replicators/two_way_replicator.rb, line 294
      def attempt_delete(source_db, diff, remaining_attempts, target_key)
        change = diff.changes[source_db]
        target_db = OTHER_SIDE[source_db]
        target_table = rep_helper.corresponding_table(source_db, change.table)

        attempt_change('delete', source_db, target_db, diff, remaining_attempts) do
          number_updated = rep_helper.delete_record target_db, target_table, target_key
          if number_updated == 0
            diff.amend
            replicate_difference diff, remaining_attempts - 1, "target record for delete vanished"
          else
            log_replication_outcome source_db, diff
          end
        end
      end