Uploaded image for project: '[Read Only] - Hippo Repository'
  1. [Read Only] - Hippo Repository
  2. REPO-439

Startup slow because of inefficient reloading of namespaces

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Top
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.23.02-alpha
    • Component/s: None
    • Labels:
      None
    • Similar issues:

      Description

      For each nodetype that gets reloaded like in the hipposys namespace the complete nodetype definition gets saved in the repository as a binary xml file. This makes starting up very slow. Also the other nodes in the cluster have to parse and update there nodetype information. Thirdly it's error prone, we shouldn't write (critical) data if nothing has changed. We have seen bugs in the past that an empty nodetype def got written to the database.

      In my opinion the (system) namespaces should only be reload if they have changed. Also the namespace should be reloaded per namespace and not per nodetype.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                svoortman Simon Voortman (Inactive)
                Reporter:
                bvdschans Bart van der Schans (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: