Uploaded image for project: 'JGroups'
  1. JGroups
  2. JGRP-1876

MERGE3 : Strange number and content of subgroups

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 3.4.2
    • Fix Version/s: 3.6.3
    • Labels:
      None

      Description

      Using JGroups 3.4.2, a split occurred and a merge was processed successfully but number of subgroups is wrong (210 instead of 2).
      The final mergeView is correct and contains 210 members.
      Here is an extract of subviews:

       
      INFO | Incoming-18,cluster,term-ETJ101697729-31726:host:192.168.56.6:1:CL(GROUP01)[F] | [MyMembershipListener.java:126] | (middleware) | MergeView view ID = [serv-ZM2BU35940-58033:vt-14:192.168.55.55:1:CL(GROUP01)[F]|172]
      210 subgroups 
      [....
      [term-ETJ100691812-36873:host:192.168.56.16:1:CL(GROUP01)[F]|170] (1) [term-ETJ104215245-11092:host:192.168.56.72:1:CL(GROUP01)[F]]
      [term-ETJ100691812-36873:host:192.168.56.16:1:CL(GROUP01)[F]|170] (1) [serv-ZM2BU38960-6907:asb:192.168.55.52:1:CL(GROUP01)[F]]
      [term-ETJ101697729-31726:host:192.168.56.6:1:CL(GROUP01)[F]|171] (1) [term-ETJ101697729-31726:host:192.168.56.6:1:CL(GROUP01)[F]]
      [term-ETJ100691812-36873:host:192.168.56.16:1:CL(GROUP01)[F]|170] (1) [serv-ZM2BU47533-55240:vt-14:192.168.55.57:1:CL(GROUP01)[F]]
      [term-ETJ100691812-36873:host:192.168.56.16:1:CL(GROUP01)[F]|170] (1) [serv-ZM2BU35943-49435:asb:192.168.55.51:1:CL(GROUP01)[F]]
      ....]
      
      

      II wasn't able to reproduce that with a simple program. But I observed that merge was preceded by an ifdown/ifup on host 192.168.56.6. That member lost all others members, but it still present in their view.
      Example:

      {A, B, C} => {A, B, C} and {C} => {A, B, C}
      

        Gliffy Diagrams

          Attachments

          1. 4Subgroups.zip
            6 kB
          2. ChannelCreator.java
            2 kB
          3. DkeJgrpAddress.java
            2 kB
          4. JGRP-1876-1.pdf
            189 kB
          5. karim-logs-files.zip
            4 kB
          6. MergeTest4.java
            8 kB
          7. MergeViewWith210Subgroups.log
            27 kB
          8. SplitMergeTest.java
            9 kB
          9. views.txt
            124 kB

            Issue Links

              Activity

                People

                • Assignee:
                  belaban Bela Ban
                  Reporter:
                  ammous Karim AMMOUS
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: