Full BC group installation delay is at least 300ms times number of DPNS in the ELAN.
This has devastating effects in scale setups, which is described in the bug ticket.
Moving the sleep outside of the loop.
Change-Id: I6d0f20a7b9c196fc7118b8d579c53013d4f5cce6
Signed-off-by: Tomer <tomer.pearl@hpe.com>
MDSALUtil.buildBucketLists(remoteListBucketInfo));
mdsalManager.syncInstallGroup(dpnInterface.getDpId(), group,
ElanConstants.DELAY_TIME_IN_MILLISECOND);
- try {
- Thread.sleep(WAIT_TIME_FOR_SYNC_INSTALL);
- } catch (InterruptedException e1) {
- LOG.warn("Error while waiting for remote BC group on other DPNs for ELAN {} to install",
- elanInfo);
- }
}
}
+ try {
+ Thread.sleep(WAIT_TIME_FOR_SYNC_INSTALL);
+ } catch (InterruptedException e1) {
+ LOG.warn("Error while waiting for remote BC group on other DPNs for ELAN {} to install", elanInfo);
+ }
}
}