Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reprovision SOLR index from data services #202

Merged
merged 5 commits into from
Sep 18, 2024
Merged

Conversation

eikek
Copy link
Member

@eikek eikek commented Sep 13, 2024

No description provided.

@eikek eikek force-pushed the reprovision-events branch 3 times, most recently from 8812d34 to 82b5f45 Compare September 17, 2024 09:40
@eikek eikek marked this pull request as ready for review September 17, 2024 11:35
@eikek eikek force-pushed the reprovision-events branch 2 times, most recently from d349919 to ebb62f2 Compare September 18, 2024 07:29
@eikek eikek changed the title Reprovision events Reprovision the SOLR index from data services Sep 18, 2024
@eikek eikek added the feature A new feature (same as enhancement) label Sep 18, 2024
@eikek eikek force-pushed the reprovision-events branch from 76258e0 to 4ffd475 Compare September 18, 2024 12:54
- Integrates the new events into the system
- A reprovisioning-msg is processed by triggering a re-index which
  would restart all event handlers. To not run into a dead lock, the
  restart must happen on a separate thread
  - handling events on the `SyncMessageHandler` is also paused. When
    this is the only running handler, using a `resetIndex` instead of
    a `startReIndex` can be used which wouldn't restart all handlers.
    Currently, there are still more handlers running
    concurrently (un-paused)
- When starting up, reset the solr lock documents. This is not safe
  when multiple provisioning services are deployed, but we don't have
  that currently. In case of a crash/restart when holding onto such a
  lock, the service would startup into an unusable state otherwise
This line looks like being forgotten, without any purpose.
@eikek eikek force-pushed the reprovision-events branch from 4ffd475 to 211ee48 Compare September 18, 2024 13:05
@eikek eikek changed the title Reprovision the SOLR index from data services Reprovision SOLR index from data services Sep 18, 2024
@eikek eikek merged commit a9fd1a5 into development Sep 18, 2024
3 checks passed
@eikek eikek deleted the reprovision-events branch September 18, 2024 13:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature A new feature (same as enhancement)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant