Bug 1972721 - Large updates can reset the CLcache to the beginning of the changelog [rhel-8.4.0.z]
Summary: Large updates can reset the CLcache to the beginning of the changelog [rhel-8...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: 389-ds-base
Version: 8.4
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: beta
: ---
Assignee: thierry bordaz
QA Contact: RHDS QE
URL:
Whiteboard:
Depends On: 1972590
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-06-16 13:43 UTC by RHEL Program Management Team
Modified: 2021-06-29 16:07 UTC (History)
13 users (show)

Fixed In Version: 389-ds-1.4-8040020210616143519.96015a92
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1972590
Environment:
Last Closed: 2021-06-29 16:07:29 UTC
Type: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Comment 1 thierry bordaz 2021-06-17 08:02:36 UTC
Fix available 389-ds-1.4-8040020210616143519.96015a92 => MODIFIED

Comment 5 Akshay Adhikari 2021-06-17 16:38:33 UTC
Build Tested: 389-ds-base-1.4.3.16-16.module+el8.4.0+11446+fc96bc48.x86_64

# grep clcache_adjust_anchorcsn /var/log/dirsrv/slapd-master1/errors |  grep 'cscb 0 - state 0' | tail -5
[17/Jun/2021:10:58:08.322905246 -0400] - DEBUG - agmt="cn=002" (example:39002) - clcache_adjust_anchorcsn - agmt="cn=002" (example:39002) - (cscb 0 - state 0) - csnPrevMax (60cb62fa003100010000) csnMax (60cb62fa003100010000) csnBuf (60cb62fa000400010000) csnConsumerMax (60cb62fa000400010000)
[17/Jun/2021:10:58:08.365019735 -0400] - DEBUG - agmt="cn=002" (example:39002) - clcache_adjust_anchorcsn - agmt="cn=002" (example:39002) - (cscb 0 - state 0) - csnPrevMax (60cb62fa003100010000) csnMax (60cb62fa003100010000) csnBuf (60cb62fa002100010000) csnConsumerMax (60cb62fa002100010000)
[17/Jun/2021:11:22:37.630590385 -0400] - DEBUG - agmt="cn=002" (example:39002) - clcache_adjust_anchorcsn - agmt="cn=002" (example:39002) - (cscb 0 - state 0) - csnPrevMax (60cb6559000000010000) csnMax (60cb6559000000010000) csnBuf (60cb651e000000010000) csnConsumerMax (60cb651e000000010000)
[17/Jun/2021:11:22:42.301284783 -0400] - DEBUG - agmt="cn=002" (example:39002) - clcache_adjust_anchorcsn - agmt="cn=002" (example:39002) - (cscb 0 - state 0) - csnPrevMax (60cb6559000000010000) csnMax (60cb6559000000010000) csnBuf (60cb653b000000010000) csnConsumerMax (60cb653b000000010000)
[17/Jun/2021:11:22:47.324694940 -0400] - DEBUG - agmt="cn=002" (example:39002) - clcache_adjust_anchorcsn - agmt="cn=002" (example:39002) - (cscb 0 - state 0) - csnPrevMax (60cb6559000000010000) csnMax (60cb6559000000010000) csnBuf (60cb6551000000010000) csnConsumerMax (60cb6551000000010000)

==> csnBuf and csnConsumerMax are in sync.

Checking jump in the past:
# grep -n '^csn' /var/lib/dirsrv/slapd-master1/changelogdb/e4b61f8d-cf7b11eb-99b8c921-8b6aa74a.ldif | wc -l
12657

# grep -n '^csn' /var/lib/dirsrv/slapd-master1/changelogdb/e4b61f8d-cf7b11eb-99b8c921-8b6aa74a.ldif | grep 60cb6551000000010000
7578116:csn: 60cb6551000000010000

Marking as VERIFIED.

Comment 9 errata-xmlrpc 2021-06-29 16:07:29 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: 389-ds:1.4 security and bug fix update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2021:2595


Note You need to log in before you can comment on or make changes to this bug.