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

panic: unaligned 64-bit atomic operation #41

Closed
StephenKathy opened this issue Jul 20, 2024 · 3 comments
Closed

panic: unaligned 64-bit atomic operation #41

StephenKathy opened this issue Jul 20, 2024 · 3 comments
Labels
incorrect version Incorrect version

Comments

@StephenKathy
Copy link

系统:centOS7.4
内核版本:
image
influxDB-cluster版本:Release v1.8.10-c1.1.2
image
硬件信息:
image

  1. 建库(单副本):curl -XPOST "http://influxdb-data-01.sh.td:8086/query" --data-urlencode "q=CREATE DATABASE "test_stress" WITH DURATION 14d REPLICATION 1 SHARD DURATION 5m"
  2. 写入数据:curl -XPOST "http://influxdb-data-01.sh.td:8086/write?db=test_stress"
    -d 'cpu,host=server01,region=uswest load=2'
  3. 查询数据, client提示: ERR: read message type: EOF, 同时数据所在的data节点 进程宕
    image
    image

64位操作系统下 建单副本表查询数据 进程会宕机,请问如何解决?

@chengshiwen
Copy link
Owner

你部署的是这个链接里的哪个版本:https://github.com/chengshiwen/influxdb-cluster/releases/tag/v1.8.10-c1.1.2

@StephenKathy
Copy link
Author

influxdb-cluster_1.8.10-c1.1.2_linux_i386.tar.gz

@chengshiwen
Copy link
Owner

你不能用 i386 这样的 32 位版本,你的系统平台是 linux 64 位,应该用 linux_amd64 或 static_linux_amd64 版本,两个版本主要区别:一是目录结构不同,static 版本扁平组织;二是 static 版本删除了 debug 信息从而包会更小,但无法使用 gdb 等调试分析

@chengshiwen chengshiwen added the incorrect version Incorrect version label Jul 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
incorrect version Incorrect version
Projects
None yet
Development

No branches or pull requests

2 participants