From 0108e7222c697822ab21186ca18cbfb225239c9c Mon Sep 17 00:00:00 2001 From: Manan Gupta <35839558+GuptaManan100@users.noreply.github.com> Date: Fri, 29 Nov 2024 16:30:36 +0530 Subject: [PATCH] feat: add more clarification for tables queried for troubleshooting (#1895) Signed-off-by: Manan Gupta --- .../troubleshooting-atomic-transactions.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/en/docs/21.0/user-guides/configuration-advanced/troubleshooting-atomic-transactions.md b/content/en/docs/21.0/user-guides/configuration-advanced/troubleshooting-atomic-transactions.md index 206c9101c..a998517bc 100644 --- a/content/en/docs/21.0/user-guides/configuration-advanced/troubleshooting-atomic-transactions.md +++ b/content/en/docs/21.0/user-guides/configuration-advanced/troubleshooting-atomic-transactions.md @@ -20,7 +20,7 @@ There are several methods to determine whether something has gone wrong in distr ## Fixing Issues Once a transaction has been identified as irreversibly failed, human intervention is required to correct the database state. You will need the DTID(s) from the previous step. Follow these steps: -1. Query the `redo_state` and `redo_statement` tables on all participating shards using the DTID to get more information about the transaction. +1. Query the `redo_state` and `redo_statement` tables on all participating shards using the DTID to get more information about the transaction. To query these tables, you will have to connect directly to the MySQL instances running alongside vttablets. These tables cannot be queried via vtgate. 2. Each shard will display the status of the transaction on that shard. For shards where the transaction has failed, the information will include the writes that were part of the transaction. 3. Using this information, rerun the relevant writes directly on each of the failing shards. 4. After making the necessary changes, conclude the transaction by running the [`Conclude` CLI command](../../../reference/programs/vtctldclient/vtctldclient_distributedtransaction/vtctldclient_distributedtransaction_conclude).