[
https://issues.apache.org/jira/browse/GEODE-6777?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dick Cavender closed GEODE-6777.
--------------------------------
> Create gateway senders command should only return when
> DistributedSystemMXBean reflects creation status
> -------------------------------------------------------------------------------------------------------
>
> Key: GEODE-6777
> URL: https://issues.apache.org/jira/browse/GEODE-6777
> Project: Geode
> Issue Type: Improvement
> Components: gfsh
> Reporter: Jens Deppe
> Priority: Major
> Fix For: 1.10.0
>
> Time Spent: 1h 50m
> Remaining Estimate: 0h
>
> Currently, the following sequence of commands will fail:
> {noformat}
> $GEODE_HOME/bin/gfsh -e "connect --locator=localhost[10334]" \
> -e "create gateway-sender --id=gs --parallel=false
> --remote-distributed-system-id=1" \
> -e "create region --name=region --type=REPLICATE
> --gateway-sender-id=gs"{noformat}
> With an error indicating that the gateway sender does not exist. This is due
> to the time it takes for the creation to be registered in the
> {{DistributedSystemMXBean}}. We should only return from this command once the
> appropriate constructs are visible in the bean.
> Once fixed, we can remove
> {{MemberVM.waitUntilGatewaySendersAreReadyOnExactlyThisManyServers}}.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)