[
https://issues.apache.org/jira/browse/GEODE-6777?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jens Deppe updated GEODE-6777:
------------------------------
Description:
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
{{MemberStarterRule.waitUntilGatewaySendersAreReadyOnExactlyThisManyServers}}.
was:
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.
> 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
>
> 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
> {{MemberStarterRule.waitUntilGatewaySendersAreReadyOnExactlyThisManyServers}}.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)