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

Modify configuration online can't work if the cluster is upgrade from v3.0.x #20411

Open
Win-Man opened this issue Oct 12, 2020 · 1 comment
Open
Assignees
Labels
component/tikv severity/moderate type/bug The issue is confirmed as a bug.

Comments

@Win-Man
Copy link
Contributor

Win-Man commented Oct 12, 2020

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

  1. Deploy a cluster in v3.0.5
  2. Upgrade cluster from v3.0.5 to v4.0.7
  3. Execute set config tikv raftstore.sync-log=false; in TiDB
MySQL [(none)]>  set config tikv raftstore.sync-log=false;
Query OK, 0 rows affected, 1 warning (0.01 sec)

MySQL [(none)]> show warnings;
+---------+------+---------------------------------------------------------------------------------------+
| Level   | Code | Message                                                                               |
+---------+------+---------------------------------------------------------------------------------------+
| Warning | 1105 | Post http://0.0.0.0:30185/config: dial tcp 0.0.0.0:30185: connect: connection refused |
+---------+------+---------------------------------------------------------------------------------------+
1 row in set (0.00 sec)

MySQL [(none)]> show config where name = 'raftstore.sync-log';
Empty set, 1 warning (0.01 sec)

MySQL [(none)]> show config where name like 'sync';
Empty set, 1 warning (0.01 sec)

MySQL [(none)]> show warnings;
+---------+------+--------------------------------------------------------------------------------------+
| Level   | Code | Message                                                                              |
+---------+------+--------------------------------------------------------------------------------------+
| Warning | 1105 | Get http://0.0.0.0:30185/config: dial tcp 0.0.0.0:30185: connect: connection refused |
+---------+------+--------------------------------------------------------------------------------------+
1 row in set (0.00 sec)

2. What did you expect to see? (Required)

Modify tikv's configuration online success.

3. What did you see instead (Required)

Modify tikv's configuration online failed.

4. What is your TiDB version? (Required)

MySQL [(none)]> select tidb_version()\G
*************************** 1. row ***************************
tidb_version(): Release Version: v4.0.6
Edition: Community
Git Commit Hash: 51d365fc45fdfc039eb204a96268c5bd1c55075f
Git Branch: heads/refs/tags/v4.0.6
UTC Build Time: 2020-09-15 09:50:30
GoVersion: go1.13
Race Enabled: false
TiKV Min Version: v3.0.0-60965b006877ca7234adaced7890d7b029ed1306
Check Table Before Drop: false
1 row in set (0.00 sec)
@Win-Man Win-Man added the type/bug The issue is confirmed as a bug. label Oct 12, 2020
@lhy1024
Copy link

lhy1024 commented Oct 16, 2020

/label component/tikv

@youjiali1995 youjiali1995 added the sig/execution SIG execution label Jan 22, 2021
@XuHuaiyu XuHuaiyu added sig/sql-infra SIG: SQL Infra and removed sig/execution SIG execution labels Feb 18, 2021
@qw4990 qw4990 removed their assignment Aug 20, 2021
@zimulala zimulala removed the sig/sql-infra SIG: SQL Infra label Jun 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/tikv severity/moderate type/bug The issue is confirmed as a bug.
Projects
None yet
Development

No branches or pull requests

10 participants