Currently queries are mutated while being executed, the query metrics and the consistency are both changed. Instead move query metrics to the Iter and remove the need to change the queries consistency for speculation.
Also page state is mutated and the metrics are shared between multiple queries in a single iter (so attempt count is not accurate for queries) - #1508 and #1511 are related.
Currently queries are mutated while being executed, the query metrics and the consistency are both changed. Instead move query metrics to the Iter and remove the need to change the queries consistency for speculation.