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 server keeps reboot when deployed with docker-compose, with error "failed to create WAL" #22620

Closed
pupilcp opened this issue Jan 29, 2021 · 6 comments
Labels
type/question The issue belongs to a question. type/stale This issue has not been updated for a long time.

Comments

@pupilcp
Copy link

pupilcp commented Jan 29, 2021

soft version:
linux:centos 7.4
docker:18.03.1-ce
docker-compose: 1.26.0

problem performance:
tidb-docker-compose_grafana_1 /run.sh Restarting
tidb-docker-compose_pd0_1 /pd-server --name=pd0 --cl ... Restarting
tidb-docker-compose_pd1_1 /pd-server --name=pd1 --cl ... Restarting
tidb-docker-compose_pd2_1 /pd-server --name=pd2 --cl ... Restarting
tidb-docker-compose_prometheus_1 /bin/prometheus --log.leve ... Up 0.0.0.0:9090->9090/tcp
tidb-docker-compose_pushgateway_1 /bin/pushgateway --log.lev ... Up 9091/tcp
tidb-docker-compose_tidb-vision_1 /bin/sh -c sed -i -e "s/PD ... Up 2015/tcp, 443/tcp, 80/tcp, 0.0.0.0:8010->8010/tcp
tidb-docker-compose_tidb_1 /tidb-server --store=tikv ... Up 0.0.0.0:10080->10080/tcp, 0.0.0.0:4000->4000/tcp
tidb-docker-compose_tikv0_1 /tikv-server --addr=0.0.0. ... Up 20160/tcp
tidb-docker-compose_tikv1_1 /tikv-server --addr=0.0.0. ... Up 20160/tcp
tidb-docker-compose_tikv2_1 /tikv-server --addr=0.0.0. ... Up 20160/tcp
tidb-docker-compose_tispark-master_1 /opt/spark/sbin/start-mast ... Up 0.0.0.0:7077->7077/tcp, 0.0.0.0:8080->8080/tcp
tidb-docker-compose_tispark-slave0_1 /opt/spark/sbin/start-slav ... Up 0.0.0.0:38081->38081/tcp

error log :
[PANIC] [raft.go:436] ["failed to create WAL"] [error="sync /data/pd0/member: invalid argument"]

Please help me,thanks

@pupilcp pupilcp added the type/question The issue belongs to a question. label Jan 29, 2021
@ti-srebot
Copy link
Contributor

This issue contains Chinese, please use English.

@pupilcp
Copy link
Author

pupilcp commented Jan 29, 2021

This issue contains Chinese, please use English.

OK

@ichn-hu
Copy link
Contributor

ichn-hu commented Jan 29, 2021

This issue contains Chinese, please use English.

OK

Would you please change the title to

pd server keeps reboot when deployed with docker-compose, with error "failed to create WAL"

@pupilcp pupilcp changed the title docker-compose安装启动,pd server不断重启问题:failed to create WAL pd server keeps reboot when deployed with docker-compose, with error "failed to create WAL" Jan 29, 2021
@pupilcp
Copy link
Author

pupilcp commented Jan 29, 2021

This issue contains Chinese, please use English.

OK

Would you please change the title to

pd server keeps reboot when deployed with docker-compose, with error "failed to create WAL"

OK

@ichn-hu
Copy link
Contributor

ichn-hu commented Jan 30, 2021

@pupilcp could you please share your docker-compose file?

@jebter
Copy link

jebter commented Jun 6, 2024

The issue has not been updated for too long, so I will close it. If there are any updates, you can reopen it.Please post your problem to https://asktug.com. They would reply to your problem ASAP.

@jebter jebter closed this as completed Jun 6, 2024
@jebter jebter added the type/stale This issue has not been updated for a long time. label Jun 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/question The issue belongs to a question. type/stale This issue has not been updated for a long time.
Projects
None yet
Development

No branches or pull requests

4 participants