Bug 1031222 - hard coded limit of 64 masters in agreement and changelog code
Summary: hard coded limit of 64 masters in agreement and changelog code
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: 389-ds-base
Version: 6.4
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: mreynolds
QA Contact: Sankar Ramalingam
URL:
Whiteboard:
Depends On:
Blocks: 1031223 1061410
TreeView+ depends on / blocked
 
Reported: 2013-11-15 23:04 UTC by Nathan Kinder
Modified: 2020-09-13 20:49 UTC (History)
5 users (show)

Fixed In Version: 389-ds-base-1.2.11.15-34.el6
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1031223 (view as bug list)
Environment:
Last Closed: 2014-10-14 07:52:13 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github 389ds 389-ds-base issues 924 0 None None None 2020-09-13 20:49:59 UTC
Red Hat Product Errata RHBA-2014:1385 0 normal SHIPPED_LIVE 389-ds-base bug fix and enhancement update 2014-10-14 01:27:42 UTC

Description Nathan Kinder 2013-11-15 23:04:13 UTC
This bug is created as a clone of upstream ticket:
https://fedorahosted.org/389/ticket/47587

repl5.h:
#define MAX_NUM_OF_MASTERS		64

repl5_agmt.c:
typedef struct repl5agmt {
...
	struct changecounter *changecounters[MAX_NUM_OF_MASTERS]; /* changes sent/skipped since server start up */
...
}

cl5_cache.c:
struct clc_buffer {
...
	struct csn_seq_ctrl_block *buf_cscbs [MAX_NUM_OF_MASTERS];
}

Comment 2 Milan Kubík 2014-08-14 11:02:18 UTC
Hi,

how to verify this change?

Thanks.

Comment 3 Rich Megginson 2014-08-15 14:41:23 UTC
(In reply to Milan Kubík from comment #2)
> Hi,
> 
> how to verify this change?
> 
> Thanks.

Not sure.  Mark worked on this.

Comment 4 Milan Kubík 2014-08-22 13:17:07 UTC
Taking steps from bug1031223.

Comment 5 mreynolds 2014-09-01 13:20:13 UTC
(In reply to Milan Kubík from comment #2)
> Hi,
> 
> how to verify this change?
> 
> Thanks.

Hi Milan, sorry for not getting back to you sooner.

First, I thought Sankar automated this test, so might want to check with him.

To verify it you need to create more than 64 "master" instances and over 64 agreements on one master.  You should be able to just use one of the masters to add the 64+ agreements that point to the other master replica servers - so you don't need 64+ agreements on every master, just one.  Finally, make sure replication works across all the replicas.

Comment 7 errata-xmlrpc 2014-10-14 07:52:13 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, and where to find the updated
files, follow the link below.

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

http://rhn.redhat.com/errata/RHBA-2014-1385.html


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