Commit Graph

3 Commits

Author SHA1 Message Date
Raphael S. Carvalho
d3a83aa549 sstables: finish streaming_histogram::update
This method was incomplete, and thus would fail if map size were
greater than max_bin_size, bringing the application down.

Signed-off-by: Raphael S. Carvalho <raphaelsc@cloudius-systems.com>
Reviewed-by: Pekka Enberg <penberg@cloudius-systems.com>
2015-07-12 11:06:03 +03:00
Glauber Costa
2dbd2b408a sstables: change describe_type's return type to auto
We always return a future, but with the threaded writer, we can get rid of
that. So while reads will still return a future, the writer will be able to
return void.

Signed-off-by: Glauber Costa <glommer@cloudius-systems.com>
2015-06-08 15:25:35 +03:00
Raphael S. Carvalho
05f2bfbe77 sstables: convert StreamingHistogram to C++ and start using it
This step was important to extend streaming_histogram with methods
needed for writing the SSTable component Statistics.

Signed-off-by: Raphael S. Carvalho <raphaelsc@cloudius-systems.com>
2015-06-02 10:32:12 +03:00