pingcap / pingcap/tidb

juicefs connect tidb failed

Open
#59,706 0 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
Go
Stars
40.5k
Forks
6.2k
PR merge metrics
PR metrics pending

Description

i use juicefs connect tikv,but connect failed
juicefs tikv://root:mlops@advanced-tidb-pd.tidb-admin.svc.cluster.local:2379/chao
nenghuabu /juice
No help topic for 'tikv://root:mlops@advanced-tidb-pd.tidb-admin.svc.cluster.local:2379/chaonenghuabu'
root@pvc-cd177603-c222-4a9d-ac7c-208836b9e561:/# juicefs mount tikv://root:mlops@advanced-tidb-pd.tidb-admin.svc.cluster.local:23
79/chaonenghuabu /juice
2025/02/24 04:25:23.068254 juicefs[136] : Meta address: tikv://root:****@advanced-tidb-pd.tidb-admin.svc.cluster.local:2379/chaonenghuabu [interface.go:504]
2025/02/24 04:25:23.068408 juicefs[136] : TiKV gc interval is set to 3h0m0s [tkv_tikv.go:84]
2025/02/24 04:25:23.081380 juicefs[136] : Data use bos://netdisk-aigc/juicefs-bos/ [mount.go:629]
2025/02/24 04:25:23.498947 juicefs[160] : Meta address: tikv://root:****@advanced-tidb-pd.tidb-admin.svc.cluster.local:2379/chaonenghuabu [interface.go:504]
2025/02/24 04:25:23.499059 juicefs[160] : TiKV gc interval is set to 3h0m0s [tkv_tikv.go:84]
2025/02/24 04:25:23.510425 juicefs[160] : Data use bos://netdisk-aigc/juicefs-bos/ [mount.go:629]
2025/02/24 04:25:23.510469 juicefs[160] : JuiceFS version 1.2.1+2024-08-30.cd871d19 [mount.go:659]
2025/02/24 04:25:23.511182 juicefs[160] : Disk cache (/var/jfsCache/cb528362-bb17-4128-8b3f-500c19bf6718/): capacity (100 GiB), free ratio 10%, used ratio - [space 57.9%, inode 1.4%], max pending pages 15 [disk_cache.go:144]
2025/02/24 04:25:23.518701 juicefs[160] : Create session 10 OK with version: 1.2.1+2024-08-30.cd871d19 [base.go:398]
2025/02/24 04:25:23.519950 juicefs[160] : Prometheus metrics listening on 127.0.0.1:33025 [mount.go:135]
2025/02/24 04:25:23.520273 juicefs[160] : Mounting volume juicefs-bos at /juice ... [mount_unix.go:814]
....................
2025/02/24 04:25:33.091437 juicefs[136] : The mount point is not ready in 10 seconds, exit it [mount_unix.go:211]
root@pvc-cd177603-c222-4a9d-ac7c-208836b9e561:/# juicefs mount tikv://root:mlops@advanced-tidb-pd.tidb-admin.svc.cluster.local:2379/chaonenghuabu /juice
2025/02/24 04:25:36.508995 juicefs[210] : Meta address: tikv://root:****@advanced-tidb-pd.tidb-admin.svc.cluster.local:2379/chaonenghuabu [interface.go:504]
2025/02/24 04:25:36.509105 juicefs[210] : TiKV gc interval is set to 3h0m0s [tkv_tikv.go:84]
2025/02/24 04:25:36.520356 juicefs[210] : Data use bos://netdisk-aigc/juicefs-bos/ [mount.go:629]
2025/02/24 04:25:36.938613 juicefs[229] : Meta address: tikv://root:****@advanced-tidb-pd.tidb-admin.svc.cluster.local:2379/chaonenghuabu [interface.go:504]
2025/02/24 04:25:36.938715 juicefs[229] : TiKV gc interval is set to 3h0m0s [tkv_tikv.go:84]
2025/02/24 04:25:36.950328 juicefs[229] : Data use bos://netdisk-aigc/juicefs-bos/ [mount.go:629]
2025/02/24 04:25:36.950376 juicefs[229] : JuiceFS version 1.2.1+2024-08-30.cd871d19 [mount.go:659]
2025/02/24 04:25:36.950975 juicefs[229] : Disk cache (/var/jfsCache/cb528362-bb17-4128-8b3f-500c19bf6718/): capacity (100 GiB), free ratio 10%, used ratio - [space 57.9%, inode 1.4%], max pending pages 15 [disk_cache.go:144]
2025/02/24 04:25:36.958479 juicefs[229] : Create session 11 OK with version: 1.2.1+2024-08-30.cd871d19 [base.go:398]
2025/02/24 04:25:36.959753 juicefs[229] : Prometheus metrics listening on 127.0.0.1:34911 [mount.go:135]
2025/02/24 04:25:36.960045 juicefs[229] : Mounting volume juicefs-bos at /juice ... [mount_unix.go:814]
....................
2025/02/24 04:25:46.533452 juicefs[210] : The mount point is not ready in 10 seconds, exit it [mount_unix.go:211]
root@pvc-cd177603-c222-4a9d-ac7c-208836b9e561:/# [2025/02/24 04:28:23.069 +00:00] [WARN] [pd.go:99] ["get timestamp too slow"] [component=tikv] [pid=160] ["cost time"=99.555675ms]
root@pvc-cd177603-c222-4a9d-ac7c-208836b9e561:/# [2025/02/24 04:35:09.563 +00:00] [WARN] [pd.go:234] ["get timestamp too slow"] [component=tikv] [pid=160] ["cost time"=58.845458ms]
^C
root@pvc-cd177603-c222-4a9d-ac7c-208836b9e561:/# juicefs mount tikv://root:mlops@advanced-tidb-pd.tidb-admin.svc.cluster.local:2379/c

this is pd logs
["apply request took too long"] [took=102.892668ms] [expected-duration=100ms] [prefix="read-only range "] [request="key:\"health\" "] [response="range_response_count:0 size:6"] []
[2025/02/24 04:18:48.019 +00:00] [INFO] [trace.go:152] ["trace[1853368647] range"] [detail="{range_begin:health; range_end:; response_count:0; response_revision:269115; }"] [duration=102.935931ms] [start=2025/02/24 04:18:47.916 +00:00] [end=2025/02/24 04:18:48.019 +00:00] [steps="[\"trace[1853368647] 'agreement among raft nodes before linearized reading' (duration: 102.877138ms)\"]"]
[2025/02/24 04:32:53.559 +00:00] [INFO] [trace.go:152] ["trace[1442080213] linearizableReadLoop"] [detail="{readStateIndex:270016; appliedIndex:270016; }"] [duration=106.345199ms] [start=2025/02/24 04:32:53.452 +00:00] [end=2025/02/24 04:32:53.558 +00:00] [steps="[\"trace[1442080213] 'read index received' (duration: 106.341398ms)\",\"trace[1442080213] 'applied index is now lower than readState.Index' (duration: 3.145µs)\"]"]
[2025/02/24 04:32:53.559 +00:00] [WARN] [util.go:167] ["apply request took too long"] [took=106.449199ms] [expected-duration=100ms] [prefix="read-only range "] [request="key:\"/pd/7473381093604240012/timestamp\" "] [response="range_response_count:1 size:65"] []
[2025/02/24 04:32:53.559 +00:00] [INFO] [trace.go:152] ["trace[135546486] range"] [detail="{range_begin:/pd/7473381093604240012/timestamp; range_end:; response_count:1; response_revision:269770; }"] [duration=106.525538ms] [start=2025/02/24 04:32:53.452 +00:00] [end=2025/02/24 04:32:53.559 +00:00] [steps="[\"trace[135546486] 'agreement among raft nodes before linearized reading' (duration: 106.421179ms)\"]"]

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.