[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CASSANDRA-14925 DecimalSerializer.toString() can OOM

I think it makes sticking to trunk as this change will affect log messages and may break tooling that depends on certain patterns.

    On Friday, December 14, 2018, 4:09:51 PM GMT+5:30, Jasonstack Zhao Yang <zhaoyangsingapore@xxxxxxxxx> wrote:  

Would like to get some feedback for CASSANDRA-14925.

In order to avoid potential OOM attack, we propose to change
DecimalSerializer.toString() from `BigDecimal.toPlainString()` to
`BigDecimal.toString()` on Trunk.

This change should not cause any compatibility issues..

Zhao Yang