- I have searched the issues of this repository and believe that this is not a duplicate.
Ask your question here
Why dubbo does choose to create a lock file and use nio file lock to control the concurrent problem during saving cache properties to disk instead of other locks? Thanks.
3条答案
按热度按时间nxagd54h1#
When there are multiple Dubbo instances
jgzswidk2#
When there are multiple Dubbo instances
So could we use filelock on cache file directly? Could creating an additional lock file avoid some potential problems? Thanks a lot.
o7jaxewo3#
Great, can you describe your approach, I suggest you make a PR.