[jboss-jira] [JBoss JIRA] (JGRP-2317) Discovery: send multiple discovery requests
Bela Ban (Jira)
issues at jboss.org
Fri Nov 30 07:29:00 EST 2018
[ https://issues.jboss.org/browse/JGRP-2317?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bela Ban resolved JGRP-2317.
----------------------------
Resolution: Done
The new attribute in Discovery is called num_discovery_runs
> Discovery: send multiple discovery requests
> -------------------------------------------
>
> Key: JGRP-2317
> URL: https://issues.jboss.org/browse/JGRP-2317
> Project: JGroups
> Issue Type: Enhancement
> Reporter: Bela Ban
> Assignee: Bela Ban
> Priority: Major
> Fix For: 4.0.16
>
>
> Define a {{num_requests}} (default: 1) attribute (we used to have this!) that governs how many times a discovery is executed until the timeout is reached, or a coord is found.
> This may be useful when multiple members are started at the same time and/or the discovery does not return the correct members the first time around. Especially needed for DNS_PING.
> The number of requests should be spaced out evenly across a range [0 .. timeout-(timeout/num_requests)]
> Example: timeout=12000, num_requests=3;
> * Range: [0 .. 8000] (12-4)
> * First req sent at time 0
> * Second: time 4000
> * Third: 8000
> Interval: {{timeout - (timeout/num_reqs) / num_reqs-1 }}
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
More information about the jboss-jira
mailing list