Questions tagged [tidb-pd]

The PD (Placement Driver) server is the metadata managing component of the TiDB cluster.

The PD (Placement Driver) server is the metadata managing component of the TiDB cluster.

It stores metadata of real-time data distribution of every single TiKV node and the topology structure of the entire TiDB cluster, provides the TiDB Dashboard management UI, and allocates transaction IDs to distributed transactions.

Related tags

13 questions
2
votes
1 answer

How do I connect existing TiKV nodes to a new cluster of PDs in TiDB?

I had a working TiDB instance running in gcloud, deployed using the tidb-ansible scripts. I wanted to replace the PD nodes with new ones, so I destroyed and replaced those. The PD cluster comes up ok now, but when I try to start the TiKV nodes, I…
dleng
  • 71
  • 9
0
votes
1 answer

Increased replication in TiKV cluster, but storage use did not increase after applying

I am running a TiKV v7.2.0 cluster, which was deployed with tiup with server_configs.pd.replication.max-replicas: 1 configured in topology. After storing about 8TB of data in the cluster, I edited the config to increase max-replicas to 2 with tiup…
Mike B
  • 1
0
votes
1 answer

how to remove ghost peers from a failed TiDB scale-in operation

I scaled in a TiDB cluster a few weeks ago to remove a misbehaving TiKV peer. The peer refused to tombstone even after a full week so I turned the server itself off, left a few days to see if there were any issues, and then ran a forced scale-in to…
Kae Verens
  • 4,076
  • 3
  • 21
  • 41
0
votes
1 answer

TIKV java client on MacOS: Failed to init client for PD cluster

I want to access TIKV using its java client on MacOS. I have a hello-world app: package com.pv.app; import org.tikv.common.TiConfiguration; import org.tikv.common.TiSession; import org.tikv.raw.RawKVClient; import…
techkuz
  • 3,608
  • 5
  • 34
  • 62
0
votes
1 answer

How precise does the time synchronization of a PD cluster need to be? What happens if the time in the PD servers is not consistent?

I'm struggling with the time synchronization of the PD servers, can't figure out a good way to guarantee the precision of it. Does anyone know the answers to the above two questions?
Coco
  • 29
  • 4
0
votes
1 answer

`ERROR 9001 (HY000): PD server timeoutstart timestamp may fall behind safepoint` in TiDB

When I was testing TiDB, I bumped into the 9001 error. I didn't figure out the cause. How to deal with it?
Lilian Lee
  • 190
  • 1
  • 12
0
votes
1 answer

How to check the health status of the whole TiDB cluster?

I've deployed the TiDB cluster for a test. I want to check whether the instances have all been started successfully, but I do not have a command line cluster management tool. In this case, how to check the health status of the TiDB cluster?
Lilian Lee
  • 190
  • 1
  • 12
0
votes
1 answer

Why the `etcd cluster ID mismatch` message is displayed when starting PD?

When I was starting PD (Placement Driver), the etcd cluster ID mismatch message displayed for some reason. How to handle this issue?
Lilian Lee
  • 190
  • 1
  • 12
0
votes
1 answer

Is the number of replicas in each Region configurable? If yes, how to configure it?

I have deployed the TiDB cluster on my machine. Is the number of replicas in each Region configurable? If yes, how to configure it?
Caitin Chen
  • 151
  • 1
  • 10
0
votes
1 answer

How to delete the monitoring data of a cluster node that is offline?

I have deployed TiDB in our production environment. I want to know how to delete the monitoring data of a cluster node that is offline.
Caitin Chen
  • 151
  • 1
  • 10
-1
votes
1 answer

Couldn't connect to the PD Server using `127.0.0.1` in TiDB

I have deployed a TiDB cluster for testing. When I was using PD Control, I found that I could only connect to the PD server using the local IP address, but couldn't connect to it using 127.0.0.1. I'm wondering why.
Lilian Lee
  • 190
  • 1
  • 12
-1
votes
1 answer

Why the modified `toml` configuration for TiKV/PD does not take effect?

During TiDB deployment, why the modified toml configuration for TiKV/PD does not take effect?
Caitin Chen
  • 151
  • 1
  • 10
-1
votes
1 answer

About the number of machines in rolling update of TiDB

I have a TiDB cluster of 4 machines and I want to add a PD server. But it seems that the number of machines does not meet the rolling update requirement. In TiDB documentation, at least 2 TiDB servers, 3 PD servers and 3 TiKV servers are needed in…
Caitin Chen
  • 151
  • 1
  • 10