elastic/elasticsearch

Automatically release resources when scrolls are entirely consumed

Open

#23,269 opened on Feb 20, 2017

View on GitHub
 (6 comments) (2 reactions) (0 assignees)Java (25,882 forks)batch import
:Search Foundations/Search>enhancementTeam:Search Foundationshelp wanted

Repository metrics

Stars
 (76,700 stars)
PR merge metrics
 (Avg merge 2d) (1,000 merged PRs in 30d)

Description

Automatically closing scroll contexts when they are entirely consumed proved controversial as it would make subsequent DELETE calls return a 404 error code. However, we could release associated resources without deleting it.

Contributor guide