You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "REUZEE (via GitHub)" <gi...@apache.org> on 2023/03/15 07:00:29 UTC

[GitHub] [dubbo] REUZEE opened a new issue, #11831: Why dubbo does choose to create a lock file and use nio file lock

REUZEE opened a new issue, #11831:
URL: https://github.com/apache/dubbo/issues/11831

   <!-- If you need to report a security issue please visit https://github.com/apache/dubbo/security/policy -->
   
   - [ ] I have searched the [issues](https://github.com/apache/dubbo/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. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo] mytang0 commented on issue #11831: Why dubbo does choose to create a lock file and use nio file lock

Posted by "mytang0 (via GitHub)" <gi...@apache.org>.
mytang0 commented on issue #11831:
URL: https://github.com/apache/dubbo/issues/11831#issuecomment-1471726386

   Great, can you describe your approach, I suggest you make a PR.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo] mytang0 commented on issue #11831: Why dubbo does choose to create a lock file and use nio file lock

Posted by "mytang0 (via GitHub)" <gi...@apache.org>.
mytang0 commented on issue #11831:
URL: https://github.com/apache/dubbo/issues/11831#issuecomment-1469847366

   When there are multiple Dubbo instances


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo] REUZEE commented on issue #11831: Why dubbo does choose to create a lock file and use nio file lock

Posted by "REUZEE (via GitHub)" <gi...@apache.org>.
REUZEE commented on issue #11831:
URL: https://github.com/apache/dubbo/issues/11831#issuecomment-1470041557

   > 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.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org