Skip to content
This repository has been archived by the owner on Aug 2, 2021. It is now read-only.

GC quantiles (continuation) #2077

Open
wants to merge 18 commits into
base: master
Choose a base branch
from

Conversation

tzdybal
Copy link

@tzdybal tzdybal commented Jan 17, 2020

Work in Progress PR for work related to garbage collection with quantiles, for better visibility.

janos and others added 18 commits June 9, 2020 12:52
Reference to local variable was returned
instead of reference to element in underlying slice.
Even more complicated test - assumes that there are multiple indexes in
database (there are many index prefixes), including empty index.
There are test cases that checks both positive and erroneous scenarios.

Tests are failing, as implementation is incorrect (in many ways).
Most important issue: quantiles.Set was not altering the original
object. This is because, reference to the receiver is passed as a value,
so the substitution of `q` with `append` function has only local scope.

Second of all, fraction fields needs public visibility, in order to be
properly JSON encoded/decoded.
@tzdybal tzdybal force-pushed the gc-quantiles-continuation branch from 946c411 to 5169578 Compare June 9, 2020 11:18
@tzdybal tzdybal changed the title [WIP] GC quantiles (continuation) GC quantiles (continuation) Jun 9, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants