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

(pd-microservices) after enable pd microservice, "set global tidb_enable_tso_follower_proxy = 1" will be stuck #51194

Closed
mayjiang0203 opened this issue Feb 20, 2024 · 1 comment · Fixed by #51216
Assignees
Labels
affects-7.1 This bug affects the 7.1.x(LTS) versions. affects-7.5 This bug affects the 7.5.x(LTS) versions. component/pd severity/major type/bug The issue is confirmed as a bug.

Comments

@mayjiang0203
Copy link

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

config tidb cluster as following.

    - name: tc
      type: TIDB_CLUSTER
      spec:
        pd:
          baseImage: hub-new.pingcap.net/qa/pd
          version: master
          config: |
            [dashboard]
            internal-proxy = true        
          limits:
            cpu: 500m
            memory: 1Gi
            storage: 1500Gi
          mode: ms
          replicas: 1
          requests:
            cpu: 151m
            memory: 600Mi
            storage: 1500Gi
          service:
            type: NodePort
        pdms:
          - baseImage: hub-new.pingcap.net/qa/pd
            config: |
              [log.file]
              filename = "/var/lib/pd/tso/tso.log"         
            limits:
              cpu: 2000m
              memory: 2Gi
              storage: 10Gi
            name: tso
            replicas: 2
            requests:
              cpu: 2000m
              memory: 2Gi
              storage: 10Gi
            storageVolumes:
              - mountPath: /var/lib/pd/tso
                name: log
                storageClassName: local-path
                storageSize: 10Gi
            version: master
          - baseImage: hub-new.pingcap.net/qa/pd
            config: |
              [log.file]
              filename = "/var/lib/pd/scheduling/scheduling.log"          
            limits:
              cpu: 2000m
              memory: 2Gi
              storage: 20Gi
            name: scheduling
            replicas: 2
            requests:
              cpu: 2000m
              memory: 2Gi
              storage: 20Gi
            storageVolumes:
              - mountPath: /var/lib/pd/scheduling
                name: log
                storageClassName: local-path
                storageSize: 20Gi
            version: master

run following set in sql

set global tidb_enable_tso_follower_proxy = 1

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

Return failed.

3. What did you see instead (Required)

stuck more than 1 hours.

4. What is your TiDB version? (Required)

master

@mayjiang0203 mayjiang0203 added the type/bug The issue is confirmed as a bug. label Feb 20, 2024
@mayjiang0203
Copy link
Author

/severity major
/assign @JmPotato

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects-7.1 This bug affects the 7.1.x(LTS) versions. affects-7.5 This bug affects the 7.5.x(LTS) versions. component/pd severity/major type/bug The issue is confirmed as a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants