Skip to content
This repository was 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.

@tzdybal tzdybal force-pushed the gc-quantiles-continuation branch from 4c2c460 to 72f23b8 Compare February 10, 2020 15:10
@tzdybal tzdybal force-pushed the gc-quantiles-continuation branch from 72f23b8 to 3355287 Compare February 20, 2020 22:06
@tzdybal tzdybal force-pushed the gc-quantiles-continuation branch from 9635f35 to 4fe64b9 Compare March 23, 2020 10:41
@tzdybal tzdybal force-pushed the gc-quantiles-continuation branch from 4fe64b9 to 365ffb7 Compare April 1, 2020 15:05
@tzdybal tzdybal force-pushed the gc-quantiles-continuation branch from 9b954e5 to 946c411 Compare May 6, 2020 11:15
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.

2 participants