Hello,

We are using Oak with Mysql. Our app is deployed in different colos across
north America and Asia. Currently our write DB lives in north america and
read DB across all other Colos. We are constantly getting lease failure
error from Asia colo *"**This oak instance failed to update the lease in
time and can therefore no longer access this DocumentNodeStore."* Looking
at
https://github.com/apache/jackrabbit-oak/blob/b5155082fef948fb004a3fb9caaaf79e3d5052d7/oak-store-document/src/main/java/org/apache/jackrabbit/oak/plugins/document/ClusterNodeInfo.java
it's
not clear

   - what's the role of lease check if you are using Mysql.
   - Can we disable leasecheck for read repository ?
   - What is the consequence of disabling lease check in prod ? (repository
   corruption ?)


Any insight will be useful.

Yogesh

Reply via email to