heroic icon indicating copy to clipboard operation
heroic copied to clipboard

Fix distributed cardinality aggregation when sent over gRPC

Open udoprog opened this issue 7 years ago • 0 comments

See: https://github.com/spotify/heroic/blob/master/heroic-dist/src/test/java/com/spotify/heroic/GrpcClusterQueryIT.java#L15

For some reason, the calculated cardinality is incorrect when used over gRPC.

This could be related to grpc having less predictive ordering when recombining the results than the jvm transport. It could also be this, in the combination of the cardinality implementation being a statistical method (with some associated error) and that condition triggers it.

udoprog avatar Oct 10 '16 16:10 udoprog