Uploaded image for project: 'Red Hat Decision Manager'
  1. Red Hat Decision Manager
  2. RHDM-7

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • 6.x.x
    • Decision Central
    • BRMS cluster with ZooKeeper/Helix

    • 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.

      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
              rhn-support-tkobayas Toshiya Kobayashi
              Tomas David Tomas David
              Tomas David Tomas David
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: