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

Create gw sender with non-existent disk store does not fail

    XMLWordPrintableJSON

Details

    Description

      While creating a parallel gw sender with a non-existing disk store, the command passed successfully but shouldn't.

      gfsh>create gateway-sender --id=ln --remote-distributed-system-id=2 --parallel=true --disk-store-name=nonExistingDiskStore
      Member  | Status | Message
      ------- | ------ | ---------------------------------------
      server1 | OK     | GatewaySender "ln" created on "server1"
      server2 | OK     | GatewaySender "ln" created on "server2"
      
      Cluster configuration for group 'cluster' is updated.
      
      gfsh>list disk-stores
      No Disk Stores Found
      

      For the serial gw sender, it throws that disk-store is not found as expected.

      gfsh>create gateway-sender --id=ln-serial --remote-distributed-system-id=2 --parallel=false --disk-store-name=nonExistingDiskStore
      Member  | Status | Message
      ------- | ------ | ---------------------------------------------------------------------------
      server1 | ERROR  |  java.lang.IllegalStateException: Disk store nonExistingDiskStore not found
      server2 | ERROR  |  java.lang.IllegalStateException: Disk store nonExistingDiskStore not found
      

      But after the above command for the serial gw sender is failed, execute list gateways and got that the serial gw sender is created.

      gfsh>list gateways
      GatewaySender Section
      
      GatewaySender Id |                 Member                 | Remote Cluster Id |  Type  |   Status    | Queued Events | Receiver Location
      ---------------- | -------------------------------------- | ----------------- | ------ | ----------- | ------------- | -----------------
      ln2              | 192.168.0.145(server1:10868)<v1>:41001 | 2                 | Serial | Not Running | 0             | 
      ln2              | 192.168.0.145(server2:10963)<v2>:41002 | 2                 | Serial | Not Running | 0             | 
      
      

       

      Attachments

        Issue Links

          Activity

            People

              mkevo Mario Kevo
              mkevo Mario Kevo
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: