Description
The NetworkTopology#netlock is a heavily accessed lock. HADOOP-15486 made the lock fair to avoid starvation of a re-registering datanode that holds the fsn write lock while waiting for the topology write lock. If nodes start flapping and re-registering, the contention with all other handlers becomes extreme.