Skip to content

Conversation

@colinsurprenant
Copy link
Contributor

@colinsurprenant colinsurprenant commented May 21, 2020

Fixes #122

  • Explicitly call the ES client clear_scroll API after each search operation
  • Handle scroll_request exceptions

@colinsurprenant colinsurprenant changed the title call client API clear_scroll after each search request Add robustness around scrolling May 21, 2020
@colinsurprenant
Copy link
Contributor Author

Build errors to investigate.

Copy link
Contributor

@yaauie yaauie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approach makes sense. I've added some minor commentary.

Of the two build failures, one was around the scheduler (I've triggered a re-run) and the other appears related to pending breaking changes with types removal in Elasticsearch 8.x.

@colinsurprenant
Copy link
Contributor Author

Thanks for the review @yaauie - added your suggestions.

Copy link
Contributor

@yaauie yaauie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM with one optional suggestion.

@colinsurprenant colinsurprenant merged commit a4ca4ae into logstash-plugins:master Jun 2, 2020
@colinsurprenant
Copy link
Contributor Author

Thanks @yaauie for the review!
v4.6.2 published.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Explicitly close the scroll

2 participants