Integrate Dataone-indexer to Dataone CN
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 20/100
- Issue type
- Feature
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- java
- Domain
- backend, distributed-systems, performance
Research direction
Start with d1-index-generator and its Hazelcast systemmetadata-map event path, then review how DataONE CN components such as harvest, replication, and log aggregation depend on Metacat 2.19.0. Define a workaround that enables dataone-indexer without broad CN changes and prevents database-loading events from overwhelming index generation.
Written by the indexing model from the issue text.
Description
While dataone-indexer is working well with Metacat 3 series, Dataone CN has some difficulties to take the high scalability of Dataone-indexer. The reason is we can't upgrade the Metacat instance from 2.19.0 to 3 series without big changes on other CN components such as harvest, replication and log aggregation services. Metacat 3 series removed the hazelcast component, on which those CN components rely.
We need to figure a work-around to use dataone-indexer without big changes on other CN components.
Also we need to keep in mind that there is a design flaw in our current d1-index-generator. D1-index-generator is listening to events of the hazecast systemmetadata map. Besides the events triggered by the systemmetadata db table rows' creation/updating, which we really care about, uploading data from the database systemmetadata table to the hazelcast map will trigger the events as well. Those events generated by loading data are not needed at all since there is no data change. And the worse scenario is hazelcast keeps constantly loading data from the db table to the hazelcast map. Those events generated by the constant loading overwhelm the index generator and it will take a long time to generate the real needed index tasks (e.g., a new object creation). So we need a new mechanism to trigger the index generator.
- Dominant language
- Java
- Stars
- 0
- Forks
- 2
- Avg merge
- 6d 6h
- Merged PRs (30d)
- 3
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from DataONEorg/dataone-indexer
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
DataONEorg/dataone-indexer#390 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
DataONEorg/dataone-indexer#378 ·
-
K8s
Difficulty 4/5 3-5 days Newbie friendliness 38/100
DataONEorg/dataone-indexer#377 ·
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
DataONEorg/dataone-indexer#362 · 8 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
DataONEorg/dataone-indexer#357 ·
All issues in DataONEorg/dataone-indexer
Similar issues
-
enhancement good first issue storege-module
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
sdlc-pro/spring-lens#647 ·
Maintainers usually reply within 1 day
-
lang-java needs-triage package:jni package:jni_flutter package:jnigen
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
valkey-io/valkey-glide#7975 ·
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
constellation-app/constellation#2613 ·
Maintainers usually reply within 2 days