Details
-
New Feature
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
With OAK-4369 and OAK-4490 its now possible to configure a new SegmentNodeStore to act as secondry nodestore (OAK-4180). Recently for few other features we see a requirement to configure a SegmentNodeStore just for storage purpose. For e.g.
OAK-4180- Enables use of SegmentNodeStore as a secondary store to compliment DocumentNodeStore- Always uses BlobStore from primary DocumentNodeStore
- Compaction to be enabled
OAK-4654- Enable use of SegmentNodeStore for private mount in a multiplexing nodestore setup- Might use its own blob store
- Compaction might be disabled as it would be read only
- OAK-4581 - Proposes to make use of SegmentNodeStore for storing event queue offline
In all these setups we need to configure a SegmentNodeStore which has following aspect
- NodeStore instance is not directly exposed but exposed via NodeStoreProvider interface with role service property specifying the intended usage
- NodeStore here is not fully functional i.e. it would not be configured with std observers, would not be used by ContentRepository etc
- It needs to be ensured that any JMX MBean registered accounts for "role" so that there is no collision
With existing SegmentNodeStoreService we can only configure 1 nodestore. To support above cases we need a OSGi config factory based implementation which enables creation of multiple SegmentNodeStore instances (each with different directory and different settings)
Attachments
Attachments
Issue Links
- blocks
-
OAK-4581 Persistent local journal for more reliable event generation
- Open
- is blocked by
-
OAK-4728 tarmk's FileStoreBuilder.build should use mkdirs instead of mkdir
- Closed
- is related to
-
OAK-4834 Make the role configurable for the SegmentNodeStore
- Resolved
-
OAK-4978 Expose maintainence related MBeans for Segment NodeStores created via factory
- Closed
- relates to
-
OAK-4581 Persistent local journal for more reliable event generation
- Open
-
OAK-4654 Allow to mount the secondary node store as a read-only subtree
- Resolved
-
OAK-4180 Use another NodeStore as a local cache for a remote Document store
- Closed
- supercedes
-
OAK-4519 Expose SegmentNodeStore as a secondary NodeStore (oak-segment-tar)
- Resolved