Uploaded image for project: 'AppFormer'
  1. AppFormer
  2. AF-634

Git SSH push doesn't trigger git repository replication in BxMS cluster

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • None
    • 0.9.0.Final, 1.0.0.Final, 1.1.0.Final , 1.2.0.Final, 1.3.0.Final, 1.4.0.Final, 1.5.0.Final
    • None
    • Hide
      • Setup 2 node BRMS cluster with ZooKeeper/Helix using BRMS installer
      • Start ZooKeeper and HelixController
      • Start BRMS cluster
      • Create 2 working directories in your local filesystem, Dir1 and Dir2.
      • In Dir1, git clone ssh://brmsAdmin@localhost:8002/repository1
      • In Dir2, git clone ssh://brmsAdmin@localhost:8003/repository1
      • In Dir1, create a new DRL (e.g. project1/src/main/resources/drl1.drl), add/commit/push
      • In Dir2, git pull
        • Dir2 doesn't get updates <PROBLEM>
      • In Dir1, modify an existing DRL (e.g. if you don't have a drl, create it in business-central GUI beforehand), add/commit/push
      • In Dir2, git pull
        • Dir2 doesn't get updates <PROBLEM>

      Note: modifying project pom.xml triggers repository replication (via IOWatchService) so it's not suitable for reproduce steps.

      Note: With the reproduce steps, inbox/social are updated so ClusterServiceHelix.broadcast() is triggered via IOWatchService hence 'system.git' was replicated but 'repository1.git' is not.

      Show
      Setup 2 node BRMS cluster with ZooKeeper/Helix using BRMS installer Start ZooKeeper and HelixController Start BRMS cluster Create 2 working directories in your local filesystem, Dir1 and Dir2. In Dir1, git clone ssh://brmsAdmin@localhost:8002/repository1 In Dir2, git clone ssh://brmsAdmin@localhost:8003/repository1 In Dir1, create a new DRL (e.g. project1/src/main/resources/drl1.drl), add/commit/push In Dir2, git pull Dir2 doesn't get updates <PROBLEM> In Dir1, modify an existing DRL (e.g. if you don't have a drl, create it in business-central GUI beforehand), add/commit/push In Dir2, git pull Dir2 doesn't get updates <PROBLEM> Note: modifying project pom.xml triggers repository replication (via IOWatchService) so it's not suitable for reproduce steps. Note: With the reproduce steps, inbox/social are updated so ClusterServiceHelix.broadcast() is triggered via IOWatchService hence 'system.git' was replicated but 'repository1.git' is not.
    • NEW
    • NEW

      When you have BRMS cluster with ZooKeeper/Helix. Git repositories in the cluster are replicated when you add/modify assets in business-central GUI.

      But when you push commits using external 'git' command with SSH, replication is not triggered.

      See details in "Steps to Reproduce".

              abakos@redhat.com Alexandre Porcelli
              abakos@redhat.com Alexandre Porcelli
              Tomas David Tomas David
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: