TiKV Node Server Maintenance

This topic has been translated from a Chinese forum by GPT and might contain errors.

Original topic: tikv节点服务器维护

| username: chenhanneu

[TiDB Usage Environment] Production Environment / Testing / PoC
[TiDB Version]
[Reproduction Path] What operations were performed that led to the issue
[Encountered Issue: Problem Phenomenon and Impact]
The server of the TiKV node needs to be upgraded and maintained, with an estimated downtime of one hour.
Is the operation to directly use tiup stop on this node?
[Resource Configuration] Go to TiDB Dashboard - Cluster Info - Hosts and take a screenshot of this page
[Attachments: Screenshots/Logs/Monitoring]

| username: WalterWj | Original post link

If it’s a single node, you can do it. Remember to use pd-ctl to increase max-down-time to prevent it from replenishing data.

| username: chenhanneu | Original post link

It is a node.

| username: 路在何chu | Original post link

Just stop it directly, but I’m afraid that upgrading the operating system will damage the TiKV files. It’s better to scale down first, and then scale up.

| username: 像风一样的男子 | Original post link

When a TiKV node stops, the leader will switch, causing fluctuations in the cluster. It is recommended to perform this operation during off-peak business hours.

| username: xfworld | Original post link

Just stop the individual node… but it will affect the cluster…

| username: Fly-bird | Original post link

First, scale out a node, then scale in.

| username: Kongdom | Original post link

Wow, noticed a detail~ Expert-level detail~

| username: Kongdom | Original post link

If the cluster can be shut down, you can execute the tiup cluster stop command to shut down the cluster.

| username: 大飞哥online | Original post link

It can be shut down on a single node and done within 30 minutes, which is good. If it takes too long, PD will intervene and cause issues.

| username: system | Original post link

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.