[MAGNOLIA-3096] Jackrabbit provider: set cluster id property automatically Created: 22/Feb/10  Updated: 23/Jan/13  Resolved: 22/Feb/10

Status: Closed
Project: Magnolia
Component/s: None
Affects Version/s: None
Fix Version/s: 4.3

Type: Improvement Priority: Major
Reporter: Fabrizio Giustina Assignee: Fabrizio Giustina
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)

 Description   

When you setup a clustered jackrabbit repository, you normally have to manually set a different cluster id for each instance, either in the repository xml config or using the system property org.apache.jackrabbit.core.cluster.node_id (see http://wiki.apache.org/jackrabbit/Clustering ).

It would be nice for users to be able to configure the cluster id directly in magnolia.properties and to have it passed to jackrabbit as a org.apache.jackrabbit.core.cluster.node_id system property during repository initialization in ProviderImpl.



 Comments   
Comment by Fabrizio Giustina [ 22/Feb/10 ]

(trivial priority)

Comment by Fabrizio Giustina [ 22/Feb/10 ]

available in 4.3.

You can now set a "magnolia.clusterid" property in magnolia.properties to set the jackrabbit cluster id. The value of the cluster id is also logged during repository initialization.

Generated at Mon Feb 12 03:43:09 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.