00fb6d76d0a97af06ba27c1180d6dcddfa337fea | Author: Francisco Fernandez Castano <francisco.fernandez.castano@gmail.com>
| 2020-03-25 12:15:20+01:00
Fix overflows on StreamingTombstoneHistogramBuilder produced by large deletion times.
patch by Francisco Fernandez; reviewed by Benjamin Lerer and Robert Stupp
for CASSANDRA-14773
This patch:
* prevents int32-bit integer overflow
* simplifies the underlying structures of StreamingTombstoneHistogramBuilder
* avoid humongous allocations by maintaining separate arrays for tombstone timestamps and number of
tombstone occurrences (these two were kept in the same array before)
* introduces more test coverage.
5cbe08b6a84cfa51ffd952a7c997b9a5f5e46e92 | Author: Francisco Fernandez <francisco.fernandez.castano@gmail.com>
| 2018-03-28 15:17:06+02:00
Serialize empty buffer as empty string for json output format
patch by Francisco Fernandez; reviewed by Benjamin Lerer for CASSANDRA-14245