SQL queries that don't modify the state of the database should not be proxied to the leader since they are technically not stat machine commands. This should be controlled by this piece of code, which seems to be broken. Follower panics with this error while trying to run commands locally:
SQL queries that don't modify the state of the database should not be proxied to the leader since they are technically not stat machine commands. This should be controlled by this piece of code, which seems to be broken. Follower panics with this error while trying to run commands locally: