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

How to Use Docker on Windows

I had to install Docker on Windows to reproduce a bug.

April 13, 2020 · 2 min · 269 words · Jack Yu

How to Prevent a Linux Laptop from Entering Sleep Mode When the Lid is Closed

Initially, I thought it would be a simple setting adjustment, so I casually Googled it. Sure enough, there was a unanimous solution: modify /etc/systemd/logind.conf, change…

March 31, 2020 · 1 min · 171 words · Jack Yu

How to Dynamically Update DNS Records for Namesilo

The purpose of dynamic updates is pretty simple. As a long-term user of China Unicom’s broadband, although Unicom provides a public address, it is essentially a dynamic address,…

February 1, 2020 · 3 min · 438 words · Jack Yu

How to Start a PowerShell Script in the Background at Windows Startup

Note: Start-Process seems to perform a fork-like action, and by default, it opens a new PowerShell window to execute. That’s why -WindowStyle Hidden is added at the end. You can’t…

January 14, 2020 · 1 min · 110 words · Jack Yu

How to Deploy an HTTPS Proxy Service

One day, I came across an article by Chen Hao on Twitter. Having benefited from several of his blog posts, I instinctively felt it was reliable, so I read it and decided to write…

January 12, 2020 · 4 min · 737 words · Jack Yu