Peter Mattis
Peter Mattis
`checkConsistency()` is currently prohibitively slow for large numbers of warehouses and provides no progress indication. The most egregious check is for `W_YTD = sum(H_AMOUNT) for each warehouse`: ``` var sumHAmount...
The `history` table doesn't have a primary key which means Cockroach autogenerates a primary key with a `unique_rowid()` function. This creates a hotspot as every insertion into the `history` table...
The VM.Errors field was typed as []error, but Go's encoding/json cannot unmarshal into an error interface type because it doesn't know what concrete type to create. This caused roachprod list...