[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: more too old cmp -1 output in the log
- To: Howard Chu <hyc@symas.com>, "openldap-technical@openldap.org" <openldap-technical@openldap.org>
- Subject: Re: more too old cmp -1 output in the log
- From: Daniel Jung <mimianddaniel@gmail.com>
- Date: Wed, 08 Oct 2014 20:12:41 -0700
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=Ax3luuUkTf+/JAnfWU/iMW9VF6zfo4ofz6uN9VCz184=; b=i6VPaau9We60xH0Z6LqpzOO7TAx6J2bC64WQfm67lCwpyYbZjVs997iApnV3C0LZb0 S9O6cLyyY+U2ky6NLyrWJkc5ORV5T72CENXBRYWthDYrMUMtnj/+0EY9Xtyviky5Plg6 HSr4P6hfulHFi1My5MUmHpFZsCj//3yNbO0Zw8gHJPBrcNsxUhrqj26U8QZ6K+ISRvJz jmulJ05FVLyfAOmCy2iWvf7V9QSjtwv+6cMFXIpurtpjQV2aMu/JmXI5Wa03v0/FcaA8 X+SsVzaVFKlEbs9WbMWhNmbs5ytn47Lop7fIK6RRShmTxW0r8paUtbay/8eiMYznnfRJ T8sg==
- In-reply-to: <5435E3B1.1020709@symas.com>
- References: <CAN+6oicMK+w6YEADbCYB2YNAC6Bfb0a-ASVXLgM_ziiyn3N8DQ@mail.gmail.com> <5435E3B1.1020709@symas.com>
- User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:24.0) Gecko/20100101 Thunderbird/24.6.0
On 2014-10-08 6:24 PM, Howard Chu wrote:
> Daniel Jung wrote:
>> Running on 2.4.39 centos 6.4 in MMR setup ( 4 servers ). 001 is the
>> provider
>> that was being written to at the time. The log is from 001. Could
>> you advise
>> whether my understanding of the log is correct?
>>
>> synrepl consumer on serverID=001 is polling syncrepl provider on
>> serverID=001
>> and 003 and gets the CSN that is older that its own.
>
> If you have a consumer on serverID=001 polling its own provider
> (serverID=001) then you have a misconfiguration.
>
Based on the log below, thats what i surmised even though in the config,
olcsynrepl on sid=001 use other than its own as the providers.
When you say consumer, you are referring to a server(slave/master) that
is using syncrepl to sync the data? Would it be possible to know show
this consumder RID in the message below ?
#001# is SID and NOT RID correct?
>> We were doing a lot of
>> writes during this time and there were cmp -1 104480 or simiar
>> entries in
>> the log. I had similar issue in the past while running 2.4.37 and it
>> crashed
>> slapd at that time but it didnt this time. The CSN were all synced
>> at the end
>> without any issue.
>>
>> Could you advise what could be causing this?
>
> It's comparing the consumer's cookie against records in the syncprov
> sessionlog, and ignoring sessionlog records that are older than the
> consumer's cookie. It's normal and harmless.
>>
>>
>> Oct 8 20:36:50 servername slapd[58097]: srs csn
>> 20141008181030.452659Z#000000#001#000000
>>
>> Oct 8 20:36:50 servername slapd[58097]: log csn
>> 20140723214017.586869Z#000000#001#000000
>>
>> Oct 8 20:36:50 servername slapd[58097]: cmp -1, too old
>>
>> Oct 8 20:36:50 servername slapd[58097]: log csn
>> 20140723214017.847644Z#000000#001#000000
>>
>> Oct 8 20:36:50 servername slapd[58097]: cmp -1, too old
>>
>> Oct 8 20:36:50 servername slapd[58097]: log csn
>> 20140723214122.276227Z#000000#001#000000
>>
>> Oct 8 20:36:50 servername slapd[58097]: cmp -1, too old
>>
>> Oct 8 20:36:50 servername slapd[58097]: log csn
>> 20140723214515.997173Z#000000#001#000000
>>
>> Oct 8 20:36:50 servername slapd[58097]: cmp -1, too old
>>
>> Oct 8 20:36:50 servername slapd[58097]: log csn
>> 20140723214734.650752Z#000000#001#000000
>>
>> Oct 8 20:36:50 servername slapd[58097]: log csn
>> 20140723220152.569135Z#000000#003#000000
>>
>> Oct 8 20:36:50 servername slapd[58097]: cmp -1, too old
>>
>> Oct 8 20:36:50 servername slapd[58097]: log csn
>> 20140723220328.184724Z#000000#001#000000
>>
>> Oct 8 20:36:50 servername slapd[58097]: cmp -1, too old
>>
>> Oct 8 20:36:50 servername slapd[58097]: log csn
>> 20140723222016.864642Z#000000#001#000000
>>
>> Oct 8 20:36:50 servername slapd[58097]: cmp -1, too old
>>
>> Oct 8 20:36:50 servername slapd[58097]: log csn
>> 20140723232832.307038Z#000000#003#000000
>>
>> Oct 8 20:36:50 servername slapd[58097]: cmp -1, too old
>>
>> Oct 8 20:36:50 servername slapd[58097]: log csn
>> 20140723232958.001298Z#000000#003#000000
>>
>
>