Solved
Check if server node is master or slave
Hi,
I need to check if my server node is a master or slave in a servlet. Please let me know if anyone has any idea about it using some OOB API.
Hi,
I need to check if my server node is a master or slave in a servlet. Please let me know if anyone has any idea about it using some OOB API.
Use InstanceDescription leader flag. More details at http://sling.apache.org/documentation/bundles/discovery-api-and-impl.html.
If you are writing the service take a look at https://helpx.adobe.com/experience-manager/kb/create-cluster-aware-osgi-service.html
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.