How to Read TiDB Source Code (Part 5)

When using TiDB, you may occasionally encounter some exceptions, such as the “Lost connection to MySQL server during query” error. This indicates that the connection between the…

September 8, 2020 · 5 min · 892 words · Jack Yu

How to Read TiDB Source Code (Part 4)

This article will introduce some key functions and the interpretation of logs in TiDB.

July 31, 2020 · 7 min · 1397 words · Jack Yu

How to Read TiDB Source Code (Part 3)

In the previous article, we introduced methods for viewing syntax and configurations. In this article, we will discuss how to view system variables, including default values,…

July 28, 2020 · 8 min · 1648 words · Jack Yu

How to Read TiDB Source Code (Part 2)

Continuing from the previous article, we learned how to set up the environment for reading code and where to start reading the code. In this part, we’ll introduce methods for…

July 12, 2020 · 4 min · 791 words · Jack Yu

How to Read TiDB Source Code (Part 1)

There are many articles on reading the source code of TiDB, often referred to as the “Twenty-Four Chapters Scriptures”. However, these introductions typically proceed from a macro…

July 6, 2020 · 6 min · 1247 words · Jack Yu