private boolean transitionTo(Status status) {
        if (this.status == status) {
            return true;
        }
        if (status == Status.IDLE) {
            this.status = status;
            commitLimiter.release();
            return true;
        }
        if (commitLimiter.tryAcquire()) {
            this.status = status;
            return true;
        } else {
            return false;
        }
    }
The flag to indicate the worker need reset. The worker status(writers) will be reset in the next round run.
core/src/main/java/kafka/automq/table/worker/TopicPartitionsWorker.java