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 Auto-Sync: not able to config 'wait-store-timeout' and 'wait-sync-timeout' #4651

Closed
tshqin opened this issue Feb 17, 2022 · 0 comments · Fixed by #4653
Closed

DR Auto-Sync: not able to config 'wait-store-timeout' and 'wait-sync-timeout' #4651

tshqin opened this issue Feb 17, 2022 · 0 comments · Fixed by #4653
Assignees
Labels
affects-5.4 severity/major type/bug The issue is confirmed as a bug.

Comments

@tshqin
Copy link

tshqin commented Feb 17, 2022

these timeout configuration items are not configurable.

» config set replication-mode dr-auto-sync wait-store-timeout 2m0s
» config set replication-mode dr-auto-sync wait-sync-timeout 2m0s

pls notice there's no Success! respond, and we can see there's no update when I check the current configuration.

config show all
...
  "replication-mode": {
    "replication-mode": "dr-auto-sync",
    "dr-auto-sync": {
      "label-key": "dc",
      "primary": "dc1",
      "dr": "dc2",
      "primary-replicas": 2,
      "dr-replicas": 1,
      "wait-store-timeout": "1m0s",
      "wait-sync-timeout": "1m0s",
      "wait-async-timeout": "2m0s"
    }
  }

version:

./pd-server -V
Release Version: v5.4.0
Edition: Community
Git Commit Hash: e3807695b6fc524f9cb84402937e56e733cabd64
Git Branch: heads/refs/tags/v5.4.0
UTC Build Time:  2022-01-17 02:56:38
@tshqin tshqin added the type/bug The issue is confirmed as a bug. label Feb 17, 2022
@disksing disksing self-assigned this Feb 17, 2022
disksing added a commit to oh-my-tidb/pd that referenced this issue Feb 17, 2022
ti-chi-bot added a commit that referenced this issue Feb 21, 2022
#4653)

close #4651

pdctl: fix the issue that duration fields of dr-autosync cannot be set

Signed-off-by: disksing <i@disksing.com>

Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io>
ti-chi-bot pushed a commit to ti-chi-bot/pd that referenced this issue Feb 21, 2022
ti-chi-bot added a commit that referenced this issue Apr 26, 2022
#4653) (#4660)

close #4651, ref #4653

pdctl: fix the issue that duration fields of dr-autosync cannot be set

Signed-off-by: disksing <i@disksing.com>

Co-authored-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-5.4 severity/major type/bug The issue is confirmed as a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants