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

The gfsh list gateways command can show non-0 Sender Count when there are no senders connected

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.7.0
    • wan

    Description

      With three members in each site, the gfsh list gateways command shows something like this for the receiving site members:

       Member | Port | Sender Count | Senders Connected
      --------------------------------- | ---- | ------------ | -------------------------------------------------------------------------------------------------------
      192.168.2.13(ny-1:90963)<v1>:1026 | 5317 | 8 | 192.168.2.13(ln-1:91017)<v1>:1029, 192.168.2.13(ln-2:91027)<v2>:1030, 192.168.2.13(ln-3:91037)<v3>:1031
      192.168.2.13(ny-2:90979)<v2>:1027 | 5232 | 8 | 192.168.2.13(ln-1:91017)<v1>:1029, 192.168.2.13(ln-3:91037)<v3>:1031, 192.168.2.13(ln-2:91027)<v2>:1030
      192.168.2.13(ny-3:90996)<v3>:1028 | 5403 | 8 | 192.168.2.13(ln-1:91017)<v1>:1029, 192.168.2.13(ln-2:91027)<v2>:1030, 192.168.2.13(ln-3:91037)<v3>:1031
      

      If two of the receivers are stopped like this then the senders will connect to the remaining receiver:

      stop gateway-receiver --member=ny-1
       Member | Result | Message
      --------------------------------- | ------ | ----------------------------------------------------------------------
      192.168.2.13(ny-1:90963)<v1>:1026 | OK | GatewayReceiver is stopped on member 192.168.2.13(ny-1:90963)<v1>:1026
      
      stop gateway-receiver --member=ny-2
       Member | Result | Message
      --------------------------------- | ------ | ----------------------------------------------------------------------
      192.168.2.13(ny-2:90979)<v2>:1027 | OK | GatewayReceiver is stopped on member 192.168.2.13(ny-2:90979)<v2>:1027
      

      The list gateways command for the receiving site will show all the senders connected to the one remaining receiver like:

       Member | Port | Sender Count | Senders Connected
      --------------------------------- | ---- | ------------ | -------------------------------------------------------------------------------------------------------
      192.168.2.13(ny-1:90963)<v1>:1026 | 5317 | 8 | 
      192.168.2.13(ny-2:90979)<v2>:1027 | 5232 | 8 | 
      192.168.2.13(ny-3:90996)<v3>:1028 | 5403 | 18 | 192.168.2.13(ln-1:91017)<v1>:1029, 192.168.2.13(ln-2:91027)<v2>:1030, 192.168.2.13(ln-3:91037)<v3>:1031
      

      But it doesn't 0 out the Sender Count for the two members whose receiver was stopped. It still shows 8 even though senders are no longer connected.

      Attachments

        Issue Links

          Activity

            People

              jjramos Juan Ramos
              boglesby Barrett Oglesby
              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 - 20m
                  20m