opencurve / curve

Curve is a sandbox project hosted by the CNCF Foundation. It's cloud-native, high-performance, and easy to operate. Curve is an open-source distributed storage system for block and shared file storage.
https://opencurve.io
Apache License 2.0
2.32k stars 521 forks source link

Multiple Mount If the CTO function is inconsistent, the mount point data of the CTO function will be overwritten #1463

Closed YunhuiChen closed 1 year ago

YunhuiChen commented 2 years ago

Describe the bug (描述bug) Multiple Mount If the CTO function is inconsistent, the mount point data of the CTO function will be overwritten

1、curvebs2 close cto volumeSize: 107374182400 volumeName: /test3 volumeUser: test

VolumePassword: 123

container_image: harbor.cloud.netease.com/curve/curvefs:release2.2 log_dir: /data/logs/curvefs client.loglevel: 8 core_dir: /corefile container_pid: host fuseClient.cto: false 2、curvebs3 open cto image

To Reproduce (复现方法) image

Expected behavior (期望行为)

Versions (各种版本) OS: Compiler: branch: commit id:

Additional context/screenshots (更多上下文/截图)

ilixiaocui commented 2 years ago

All mount points on the same file system are either enableCto, or they do not guarantee consistency. fix by pr: https://github.com/opencurve/curve/pull/1771

YunhuiChen commented 2 years ago

image