When a page or asset is versioned a node added event occurs in all workspaces. The versions can be visually inspected from the JCR Browser:
Set true: /modules/jcr-browser-app/apps/jcr-browser/subApps/browser/contentConnector@includeSystemNodes
New versions should not effect the observation mechanism of every workspace.
A node added event is fired in every workspace.
To see the issue create this groovy script in the package structure info.magnolia.test:
Create a page and publish it. The NodeAddedEvent will log every new node created. page-node-creation-and-publish.log
- Each time you add a new workspace to the system you are creating additional drag on the versioning system.
- Since the versions can be seen from every workspace you must be careful when iterating the nodes of a workspace. Most likely you do not want to iterate the system level nodes.