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.33k stars 522 forks source link

fix curvefs topology lock #2963

Closed SeanHai closed 10 months ago

SeanHai commented 10 months ago

What problem does this PR solve?

Different order of acquiring locks in AddMetaServer and RemoveMetaServer may cause deadlock.

Issue Number: #xxx

Problem Summary:

What is changed and how it works?

What's Changed:

How it Works:

Side effects(Breaking backward compatibility? Performance regression?):

Check List

SeanHai commented 10 months ago

cicheck

SeanHai commented 10 months ago

cicheck