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

StackOverflowError in MetricAgeOffIterator #150

Open
jdwoody opened this issue Aug 2, 2017 · 2 comments
Open

StackOverflowError in MetricAgeOffIterator #150

jdwoody opened this issue Aug 2, 2017 · 2 comments

Comments

@jdwoody
Copy link

jdwoody commented Aug 2, 2017

If data is present/ingested that should be aged off, you can get a SOE during compaction or at scan time due to the recursive call chain in the MetricAgeOffIterator:
seekPastAgedOffMetricData(line 161)
seekIfNecessary(line 87)
seek(line 180)

@dlmarion
Copy link
Collaborator

dlmarion commented Aug 7, 2017

This occurred due to an error on the client where it was sending data at second precision instead of millisecond precision thus creating very old data. I wonder if the solution here is to drop data if it's date/time is before the configured age-off setting for the metric.

@Montana
Copy link

Montana commented Aug 20, 2021

Maybe in this case, an interval drop rule would be more successful via it discretizes the time interval of the segment at a specific granularity to generate a table of set time points.

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

No branches or pull requests

3 participants