Skip to content

Commit 6ec12be

Browse files
committed
Add missing IndexShard#readAllowed()
This was lost in #33835
1 parent 5107949 commit 6ec12be

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

server/src/main/java/org/elasticsearch/index/shard/IndexShard.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -875,6 +875,7 @@ public FlushStats flushStats() {
875875
}
876876

877877
public DocsStats docStats() {
878+
readAllowed();
878879
DocsStats docsStats = getEngine().docStats();
879880
markSearcherAccessed();
880881
return docsStats;

0 commit comments

Comments
 (0)