Skip to content

Commit 12f344b

Browse files
committed
Add missing IndexShard#readAllowed()
This was lost in #33835
1 parent 3bbaf4d commit 12f344b

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
@@ -914,6 +914,7 @@ public FlushStats flushStats() {
914914
}
915915

916916
public DocsStats docStats() {
917+
readAllowed();
917918
return getEngine().docStats();
918919
}
919920

0 commit comments

Comments
 (0)