Ryan Leung

Results 55 issues of Ryan Leung

## Bug Report https://github.com/tikv/pd/blob/a6e855eef6744adfac232833769219be4f806756/pkg/dashboard/adapter/manager.go#L182-L186 Consider that we update the config using API at the same time, the timeline could be: 1. The dashboard first gets config and clone it 2....

type/bug
severity/major
may-affects-5.4
may-affects-6.1
may-affects-6.5
may-affects-7.1
may-affects-7.5
affects-8.1

## Bug Report ### What did you expect to see? All schedulers work as expected ### What did you see instead? ### What version of PD are you using (`pd-server...

type/bug
severity/major
may-affects-5.2
may-affects-5.3
may-affects-5.4
may-affects-6.1
may-affects-6.5
may-affects-7.1
affects-7.5
affects-8.1

## Flaky Test ### Which jobs are failing ``` 2024-04-08T03:05:00.1294129Z === RUN TestResourceManagerSuite/TestConfigController 2024-04-08T03:05:00.1294911Z resource_manager_command_test.go:71: 2024-04-08T03:05:00.1295979Z Error Trace: /home/runner/work/pd/pd/tools/pd-ctl/tests/resourcemanager/resource_manager_command_test.go:71 2024-04-08T03:05:00.1297585Z /home/runner/work/pd/pd/tools/pd-ctl/tests/resourcemanager/resource_manager_command_test.go:76 2024-04-08T03:05:00.1298338Z Error: Received unexpected error: 2024-04-08T03:05:00.1299117Z invalid character 'G'...

type/ci

## Enhancement Task Consider such a case: 1. we have 3 zones: z1, z2, and z3. Each zone has 3 tikvs. 2. we have 3 tables: t1, t2, and t3....

type/enhancement
affects-6.5
report/customer

## Enhancement Task Currently, when we use the HTTP client of PD, it will send the request to the PD leader. But sometimes, we also need to send the request...

type/enhancement

## Enhancement Task Previously, lightning used the global pause policy to avoid scheduling when importing data, which allowed evicting the leader in the process. After https://github.com/tikv/pd/pull/4649, we support pausing scheduling...

type/enhancement

## Enhancement Task https://github.com/tikv/pd/blob/d6d9feab3e2a5180acbcc7095723d43e97798686/pkg/schedule/operator/operator_controller.go#L107-L235 If line 232 is executed first, the operator may be changed to timeout status since it indeed exceeds the max execution time if there are pending...

type/enhancement

## Enhancement Task We use a TTL cache to calculate the distribution of scatter, see https://github.com/tikv/pd/blob/d6d9feab3e2a5180acbcc7095723d43e97798686/pkg/schedule/scatter/region_scatterer.go#L68 But if the operator is created but fails, the cache won't be changed. If...

type/enhancement

Signed-off-by: Ryan Leung

The purpose of this PR is that we want to persist the leader information on the PD side so that if the PDs are reloaded, it won't affect the leader...

size/L