Skip to content

Long delay when setting replication agreement through command line with dsconf #6301

Closed
@droideck

Description

@droideck

Description of problem:
When creating a replication agreement with dsconf, the command line gets stuck for 65 seconds on average. If the agreement is created and initialized through WebUI, the change is almost immediate.

Steps to Reproduce:

  1. Enable replication on supplier and consumer machine (either on the same machine or two separate, the issue is on both)
  2. Setup a replication agreement:

dsconf -D "cn=Directory Manager" ldap://supplier.example.com repl-agmt create --suffix="dc=example,dc=com" --host="consumer.example.com" --port=389 --conn-protocol=LDAP --bind-dn="cn=replication manager,cn=config" --bind-passwd="password" --bind-method=SIMPLE --init example-agreement
Enter password for cn=Directory Manager on ldap://supplier.example.com:
Successfully created replication agreement "example-agreement"
-----here it gets stuck for 65 seconds, then proceeds further -------

Agreement initialization started...

Actual results:
The dsconf command is stuck for a minute.

Expected results:
Reduce the time if possible?

Metadata

Metadata

Assignees

Labels

needs triageThe issue will be triaged during scrum

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions