Jens Deppe created GEODE-6777:
---------------------------------

             Summary: 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


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.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to