diff --git a/src/current/advisories/a131639.md b/src/current/advisories/a131639.md index 52d65aec015..1af32faad6b 100644 --- a/src/current/advisories/a131639.md +++ b/src/current/advisories/a131639.md @@ -89,23 +89,22 @@ For example, if you suspect that a row in `my_table` with primary key `pk=1` and ~~~ sql BEGIN AS OF SYSTEM TIME '-10s'; SELECT count(*) FROM my_table@my_table_pkey WHERE pk = 1; -SELECT count(*) FROM my_table@my_table_a_idx WHERE pk = 1; -SELECT count(*) FROM my_table@my_table_b_idx WHERE pk = 1; -COMMIT; +SELECT count(*) FROM my_table@my_table_a_idx WHERE pk = 1 AND a=2; +SELECT count(*) FROM my_table@my_table_b_idx WHERE pk = 1 AND b=3; ~~~ If any of these queries return different values for `count`, that likely indicates a lost write. -The `AS OF SYSTEM TIME` clauses are added to minimize the impact on foreground traffic. +The `AS OF SYSTEM TIME` clause helps to minimize the impact on foreground traffic. -If you are unsure which rows may have been affected but suspect that your cluster experienced lost writes, please contact the [support team](https://support.cockroachlabs.com). +If you are unsure which rows may have been affected but suspect that your cluster experienced lost writes, contact the [support team](https://support.cockroachlabs.com). ### Repair rows with lost writes -If you experienced lost writes, it is possible to repair rows by re-inserting data. This will generally be easier if you know all the column values that need to be re-inserted. Please contact the [support team](https://support.cockroachlabs.com) for assistance with repairing rows with lost writes. +If you experienced lost writes, it is possible to repair rows by re-inserting data. This will generally be easier if you know all the column values that need to be re-inserted. Contact the [support team](https://support.cockroachlabs.com) for assistance with repairing rows with lost writes. ## Impact In circumstances where there is a sustained period of disk slowness in the presence of lease transfers, it is possible for some writes in a transaction that straddle multiple ranges to be lost. In cases where these lost writes are not also present on one or more secondary indexes that could allow for reconstructing or repairing the row, these writes could be irrecoverably lost. -Please reach out to the [support team](https://support.cockroachlabs.com) if more information or assistance is needed. +Reach out to the [support team](https://support.cockroachlabs.com) if more information or assistance is needed.