+++ This bug was initially created as a clone of Bug #1724184 +++ Description of problem: For thin arbiter volumes, even if there are no entries needing heal, SHD will take a lock on TA in AFR_TA_DOM_NOTIFY domain and gets the state and then unlocks. This will lead to invalidation of cached information on clients about the bricks state even though there is no pending heal. This happens during index crawl at every heal-timeout interval.
REVIEW: https://review.gluster.org/23037 (cluster/ta: Notify the clients only if there are pending heals) posted (#1) for review on release-7 by Karthik U S
REVIEW: https://review.gluster.org/23037 (cluster/ta: Notify the clients only if there are pending heals) merged (#3) on release-7 by Rinku Kothiya