Uploaded image for project: 'JBoss BRMS Platform'
  1. JBoss BRMS Platform
  2. RHBRMS-2982

[GSS] (6.4.z) Git SSH push doesn't trigger git repository replication in BxMS cluster

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 6.4.7
    • 6.4.0
    • Business Central
    • BRMS cluster with ZooKeeper/Helix

    • CR1
    • 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
              Archiver:
              rhn-support-ceverson Clark Everson
              Jan Hrcek Jan Hrcek (Inactive)
              Jan Hrcek Jan Hrcek (Inactive)

                Created:
                Updated:
                Resolved:
                Archived: