Add missing IndexShard#readAllowed()

This was lost in #33835
This commit is contained in:
Simon Willnauer 2018-09-19 17:07:13 +02:00
parent 5107949402
commit 6ec12bef0d
1 changed files with 1 additions and 0 deletions

View File

@ -875,6 +875,7 @@ public class IndexShard extends AbstractIndexShardComponent implements IndicesCl
}
public DocsStats docStats() {
readAllowed();
DocsStats docsStats = getEngine().docStats();
markSearcherAccessed();
return docsStats;