public void remove(ApplicationTransaction transaction) {
        NodeList applicationNodes = nodes().list().owner(transaction.application());
        db.writeTo(State.dirty,
                   applicationNodes.asList(),
                   Agent.system,
                   Optional.of("Application is removed"),
                   transaction);
        applications.remove(transaction);
    }
Removes this application: all nodes are set dirty.
node-repository/src/main/java/com/yahoo/vespa/hosted/provision/NodeRepository.java