List:Commits« Previous MessageNext Message »
From:Davi Arnaut Date:November 24 2009 1:07pm
Subject:Re: bzr commit into mysql-5.1-bugteam branch (Dao-Gang.Qu:3192)
Bug#42851
View as plain text  
On 11/24/09 10:54 AM, Andrei Elkin wrote:
> Davi, hello.
>
>     >>  1. Rating for the error log should be done per session
>     >>  2. Rating should target at duplicate messages
>
> Just to be sure, notice, that I mean 1&  2. I.e rating duplicate messages
> generated by a session. And that covers the immediate issue of the bug.
>
>     >
>     >  IMHO, we should do either one, not the two. 1. should be enough.
>
>     Actually, 1 has problems too. For example, in cases where there is a
>     exceptional condition and a storage engine wants to dump a lot of
>     information to the error log in a short period of time. This might
>     inadvertently trigger rate limiting.
>
> I think we would rather to preserve all the volume in this case.

Yeah, but how are we going to achieve it?

>
>     2 problems of its own too if we
>     want to detect duplicate messages within a time interval.
>
> I am not sure what you mean here. I have been thinking on rating always
> implying the time interval context.

I mean that it would increase the complexity. We would need some kind of 
way to track duplicate messages within a interval and this is complicate 
to implement (we don't want a huge memory leak.. we would need periodic 
garbage collection too.. i guess).

>     This is proving to be quite controversial for something that should be
>     kept simple. Perhaps we should stick with what syslog does: eliminate
>     subsequent duplicated messages. We track those by using a checksum on
>     the message format. What do you guys thing?
>
> "Eliminate subsequent duplicated messages" *of a session*. We should not discard the
> 2nd session's
> possible only message.

Fine by me.

> About checksum as the hash key - now I see it is better than my earlier numberic id
> suggestion simply
> because of two errors with the common num code can be unrelated.
>

Yep.

Regards,

--
Davi Arnaut
Thread
bzr commit into mysql-5.1-bugteam branch (Dao-Gang.Qu:3192) Bug#42851Dao-Gang.Qu23 Nov
  • Re: bzr commit into mysql-5.1-bugteam branch (Dao-Gang.Qu:3192)Bug#42851Davi Arnaut23 Nov
    • Re: bzr commit into mysql-5.1-bugteam branch (Dao-Gang.Qu:3192)Bug#42851Daogang Qu24 Nov
    • Re: bzr commit into mysql-5.1-bugteam branch (Dao-Gang.Qu:3192)Bug#42851Daogang Qu24 Nov
      • Re: bzr commit into mysql-5.1-bugteam branch (Dao-Gang.Qu:3192)Bug#42851Jon Stephens24 Nov
        • Re: bzr commit into mysql-5.1-bugteam branch (Dao-Gang.Qu:3192)Bug#42851Daogang Qu24 Nov
        • Re: bzr commit into mysql-5.1-bugteam branch (Dao-Gang.Qu:3192)Bug#42851Davi Arnaut24 Nov
          • Re: bzr commit into mysql-5.1-bugteam branch (Dao-Gang.Qu:3192)Bug#42851Jon Stephens25 Nov
Re: bzr commit into mysql-5.1-bugteam branch (Dao-Gang.Qu:3192)Bug#42851Daogang Qu24 Nov
  • Re: bzr commit into mysql-5.1-bugteam branch (Dao-Gang.Qu:3192)Bug#42851Jon Stephens25 Nov
    • Re: bzr commit into mysql-5.1-bugteam branch (Dao-Gang.Qu:3192)Bug#42851Daogang Qu25 Nov
Re: bzr commit into mysql-5.1-bugteam branch (Dao-Gang.Qu:3192)Bug#42851Davi Arnaut24 Nov
  • Re: bzr commit into mysql-5.1-bugteam branch (Dao-Gang.Qu:3192)Bug#42851Davi Arnaut24 Nov
    • Re: bzr commit into mysql-5.1-bugteam branch (Dao-Gang.Qu:3192)Bug#42851He Zhenxing26 Nov
Re: bzr commit into mysql-5.1-bugteam branch (Dao-Gang.Qu:3192)Bug#42851Davi Arnaut24 Nov
Re: bzr commit into mysql-5.1-bugteam branch (Dao-Gang.Qu:3192)Bug#42851He Zhenxing26 Nov
Re: bzr commit into mysql-5.1-bugteam branch (Dao-Gang.Qu:3192)Bug#42851Davi Arnaut26 Nov
  • Re: bzr commit into mysql-5.1-bugteam branch (Dao-Gang.Qu:3192)Bug#42851He Zhenxing27 Nov
    • Re: bzr commit into mysql-5.1-bugteam branch (Dao-Gang.Qu:3192)Bug#42851Davi Arnaut27 Nov
Re: bzr commit into mysql-5.1-bugteam branch (Dao-Gang.Qu:3192)Bug#42851Davi Arnaut26 Nov
Re: bzr commit into mysql-5.1-bugteam branch (Dao-Gang.Qu:3192)Bug#42851Davi Arnaut26 Nov