elasticsearch/elasticsearch — pull request #7323 by mikemccand (2014-08-18 20:59:20+00:00)
Title: Core: DistributorDirectory shouldn't search for directory when reading existing file

I just changed the logic in the private getDirectory() to only call distributor.any() if there wasn't already a binding for the requested file name.

Closes #7306