Details
Description
Sling Starter jar should use a file datastore by default. In my experience, a datastore provides a noticeable performance boost. It took too long to figure out how to get Sling working with a file datastore.
https://jackrabbit.apache.org/oak/docs/osgi_config.html#config-sling
https://stackoverflow.com/questions/62030664/aem-filedatastore-missing-parameter-options/62032775
https://stackoverflow.com/questions/63569028/add-new-datastore-during-upgrade
Proposed change
[configurations runModes=oak_tar]
org.apache.jackrabbit.oak.segment.SegmentNodeStoreService
name="Default\ NodeStore"
org.apache.jackrabbit.oak.plugins.blob.datastore.FileDataStore
minRecordLength=I"4096"
path="sling/repository/datastore"
cacheSizeInMB=I"128"
org.apache.jackrabbit.oak.segment.SegmentNodeStoreService
customBlobStore=B"true"