public void writeChange(UnaryOperator<OsVersionChange> operation) {
        try (var lock = db.lockOsVersionChange()) {
            OsVersionChange change = readChange();
            OsVersionChange newChange = operation.apply(change);
            if (newChange.equals(change)) return; // Nothing changed
            db.writeOsVersionChange(newChange);
        }
    }
Write the current OS version change with the result of the given operation applied
node-repository/src/main/java/com/yahoo/vespa/hosted/provision/os/OsVersions.java