On 28 Oct 2016, at 06:18, 陈福荣 <vinchen13@gmail.com> wrote:
Thanks for knielsen's nice replay. I would like to add some comments
>> (2) Senders would try to compress the event as requested. If the
>> compressed event is not any smaller then do not bother compressing it,
>> just send the original event.
>
> This is not in the current patch, but it could be added easily enough. It
> might not be needed though, the log_bin_compress_min_len kind of serves a
> similar purpose.
It just saves the receiver doing extra work and I’d expect that allowing that
would be trivial even if not implemented now. Just a thought anyway.
As knielsen said, the main purpose of log_bin_compress_min_len is avoiding the too small binlog events.
SBR is also work in this feature.