Hi Aaron, On 12.06.21, 18:54, "Aaron Anderson" <[email protected]> wrote: > After completing my development there are a few very minor enhancements > for the Elasticsearch plugin that I would like to contribute to the > project. Should I create an issue first or may I directly create a > Github pull request?
It's best you do both and mention the PR in the OAK issue. > 1. What is the purpose of the whiteboard and can it be used for all Oak > configuration? No, it can't. The 'features' supported via the whiteboard are limited. IIRC the main purpose is to act as a facade and allows for easier integration with an OSGi container. As you might have seen, there are different implementations. Some configuration is done via the whiteboard, but other is more static and done with the Oak and Jcr builder classes. > When I was setting up the Elasticsearch IndexProvider and > IndexEditorProvider implementations I configured them directly on the > Oak builder. Is it possible to register those implementation on the > whiteboard instead? I'm not an expert in this area, but I don't think this is possible. > 2. Is there any way to convert/cast between a JCR Repository and an Oak > ContentRepository or are they mutually exclusive and must be maintained > separately? No, this is not possible. There was a recent request to provide this ability, but the Oak team decided not to implement it. For more details see https://issues.apache.org/jira/browse/OAK-9416 > 3. Does the AWS NodeSegment support concurrent access? It uses a Dynamo > DB lock table so I presume it does but I couldn't find a confirmation in > the documentation and the only clustering documentation I could locate > was the Lucene and MongoDB configuration. All segment based NodeStore implementations only support access through a single Oak process. But there are some prototypes that aim to achieve what you ask for: - https://issues.apache.org/jira/browse/OAK-8613 - https://issues.apache.org/jira/browse/OAK-7932 Regards Marcel
