DataONE-indexer can handle the RabbitMQ messages with system metadata
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 45/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Quiet
- Domain
- backend, data-engineering, distributed-systems
Research direction
Start at the RabbitMQ message-consumption entry point in dataone-indexer and review how the Python controller assembles system metadata. Trace the existing system-metadata lookup and Solr-document comparison; done means optional metadata is accepted, modifiedDate prevents older data overwriting newer data, and the production timeout path is avoided.
Written by the indexing model from the issue text.
Description
When we use a temporary cn python client (controller)/Dataone-indexer to replace d1-cn-index-generator/producer, it works well on cn-sandbox and cn-stage. However, we have an issue in the production cns - it frequently gets the timeout issue when dataone-indexer use the cn API call to get systemmetadata. We still haven't figured out the reason.
So I am thinking another approach - Dataone-indexer will use the system metadata directly (no need to read hashstore and send an API call to get system metadata) if the RabbitMQ messages have the system metadata. The system metadata part in the message is optional. We need to compare the modifiedDate field in the system metadata with the solr document before process it. So we can avoid the older one overwriting the newer one.
Our python client (controller) already has the db connection and it can assembly the system metadata easily.
- 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 42/100
DataONEorg/dataone-indexer#348 ·
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