Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refresh if many deletes in a row use up too much version map RAM #10312

Closed
wants to merge 2 commits into from

Conversation

mikemccand
Copy link
Contributor

Digging into #7052 I noticed that if an app does zillions of "delete by IDs" in a row, we fail to trigger a refresh when the version map is using too much RAM...

@s1monw
Copy link
Contributor

s1monw commented Mar 30, 2015

LGTM in general - any change we can get a unittest triggering this? maybe in InternalEngineTests

@mikemccand
Copy link
Contributor Author

@s1monw I added a test case ... I think it's ready.

@s1monw
Copy link
Contributor

s1monw commented Mar 30, 2015

LGTM thanks mike

mikemccand added a commit that referenced this pull request Mar 30, 2015
…is using too much RAM

We already force a refresh in index/create ops, to clear version map
when it's using too much RAM, but we were failing to do this for
deletes, so an app that does tons of deletes with no indexing, and has
set refresh_interval to -1, would have version map using unbounded
RAM.

Closes #10312
mikemccand added a commit that referenced this pull request Mar 30, 2015
…is using too much RAM

We already force a refresh in index/create ops, to clear version map
when it's using too much RAM, but we were failing to do this for
deletes, so an app that does tons of deletes with no indexing, and has
set refresh_interval to -1, would have version map using unbounded
RAM.

Closes #10312
@clintongormley clintongormley added >enhancement :Core/Infra/Core Core issues without another label labels Apr 9, 2015
@clintongormley clintongormley changed the title Core: also refresh if many deletes in a row use up too much version map RAM Refresh if many deletes in a row use up too much version map RAM Jun 6, 2015
mute pushed a commit to mute/elasticsearch that referenced this pull request Jul 29, 2015
…is using too much RAM

We already force a refresh in index/create ops, to clear version map
when it's using too much RAM, but we were failing to do this for
deletes, so an app that does tons of deletes with no indexing, and has
set refresh_interval to -1, would have version map using unbounded
RAM.

Closes elastic#10312
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants