Uploaded image for project: 'ModeShape'
  1. ModeShape
  2. MODE-1372

Internal RepositoryCache CreateNode events should include node type info for new node and parent

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Blocker Blocker
    • 4.0.0.Alpha1
    • 3.0.0.Alpha1
    • JCR

      It may be useful to include in the "create node" events (within the RepositoryCache) all of the node types (primary type and mixin types) of newly-created nodes as well as of their parent node. While this will increase the size of the event, it would save the ModeShape ObservationManager-related code from having to look up that node type information when determining whether the event should be forwarded to listeners registered with node type constraints.

      We may need to run some performance tests before going this route, measuring the performance improvement is indeed worth the increase in event size (which would affect the amount of information sent between processes in the cluster).

              hchiorean Horia Chiorean (Inactive)
              rhauch Randall Hauch (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: