Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[dr-autosync] block read/write more than 40s during change sync to async #6672

Closed
mayjiang0203 opened this issue Jun 25, 2023 · 1 comment · Fixed by #6669
Closed

[dr-autosync] block read/write more than 40s during change sync to async #6672

mayjiang0203 opened this issue Jun 25, 2023 · 1 comment · Fixed by #6669
Assignees
Labels
affects-6.5 severity/minor type/bug The issue is confirmed as a bug. type/enhancement The issue or PR belongs to an enhancement.

Comments

@mayjiang0203
Copy link

Enhancement Task

[2023/06/25 15:14:18.610 +08:00] [INFO] [workload.go:753] ["[Current] STOCK_LEVEL - Takes(s): 0.7, Count: 1, TPM: 81.6, Sum(ms): 10.3, Avg(ms): 10.2, 50th(ms): 10.5, 90th(ms): 10.5, 95th(ms): 10.5, 99th(ms): 10.5, 99.9th(ms): 10.5, Max(ms): 10.5\r\n"]
[2023/06/25 15:14:49.081 +08:00] [INFO] [pdutil.go:385] ["Current replica status"] [dr-auto-sync.state=async_wait]
[2023/06/25 15:14:49.081 +08:00] [INFO] [primary.go:190] ["monitor status"]
2023-06-25T15:14:49.145+0800    INFO    k8s/client.go:132       it should be noted that a long-running command will not be interrupted even the use case has ended. For more information, please refer to https://github.com/pingcap/test-infra/discussions/129
[2023/06/25 15:15:00.710 +08:00] [INFO] [workload.go:753] ["[Current] DELIVERY - Takes(s): 0.6, Count: 4, TPM: 394.9, Sum(ms): 147.2, Avg(ms): 36.7, 50th(ms): 33.6, 90th(ms): 44.0, 95th(ms): 44.0, 99th(ms): 44.0, 99.9th(ms): 44.0, Max(ms): 44.0\r\n"] 

version: 6.5.3

configuration set as below.

MySQL [(none)]> show config where  name like "%wait-store-timeout%";
+------+---------------+--------------------------------------------------+-------+
| Type | Instance      | Name                                             | Value |
+------+---------------+--------------------------------------------------+-------+
| pd   | pd1-peer:2379 | replication-mode.dr-auto-sync.wait-store-timeout | 10s   |
| pd   | pd2-peer:2379 | replication-mode.dr-auto-sync.wait-store-timeout | 10s   |
| pd   | pd3-peer:2379 | replication-mode.dr-auto-sync.wait-store-timeout | 10s   |
+------+---------------+--------------------------------------------------+-------+
3 rows in set (6.34 sec)
MySQL [(none)]> show config where  name like "%pd-store-heartbeat-tick-interval%";
+------+------------------+--------------------------------------------+-------+
| Type | Instance         | Name                                       | Value |
+------+------------------+--------------------------------------------+-------+
| tikv | tikv2-peer:20160 | raftstore.pd-store-heartbeat-tick-interval | 1s    |
| tikv | tikv1-peer:20160 | raftstore.pd-store-heartbeat-tick-interval | 1s    |
| tikv | tikv4-peer:20160 | raftstore.pd-store-heartbeat-tick-interval | 1s    |
| tikv | tikv6-peer:20160 | raftstore.pd-store-heartbeat-tick-interval | 1s    |
| tikv | tikv5-peer:20160 | raftstore.pd-store-heartbeat-tick-interval | 1s    |
| tikv | tikv3-peer:20160 | raftstore.pd-store-heartbeat-tick-interval | 1s    |
+------+------------------+--------------------------------------------+-------+
6 rows in set (0.06 sec)
@mayjiang0203 mayjiang0203 added the type/enhancement The issue or PR belongs to an enhancement. label Jun 25, 2023
@mayjiang0203
Copy link
Author

/assign @disksing

ti-chi-bot bot pushed a commit that referenced this issue Jun 26, 2023
fix #6672

Signed-off-by: disksing <i@disksing.com>
@nolouch nolouch added type/bug The issue is confirmed as a bug. severity/minor affects-6.5 labels Jul 11, 2023
ti-chi-bot bot pushed a commit that referenced this issue Jul 14, 2023
fix #6672

Signed-off-by: disksing <i@disksing.com>
disksing added a commit to oh-my-tidb/pd that referenced this issue Feb 1, 2024
fix tikv#6672

Signed-off-by: disksing <i@disksing.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects-6.5 severity/minor type/bug The issue is confirmed as a bug. type/enhancement The issue or PR belongs to an enhancement.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants