Uploaded image for project: 'Geode'
  1. Geode
  2. GEODE-6777

Create gateway senders command should only return when DistributedSystemMXBean reflects creation status

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.10.0
    • gfsh
    • None

    Description

      Currently, the following sequence of commands will fail:

      $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"

      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jens.deppe Jens Deppe
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 50m
                  1h 50m