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

Mapping validation for system indices #2485

Open
ppf2 opened this issue May 1, 2024 · 0 comments
Open

Mapping validation for system indices #2485

ppf2 opened this issue May 1, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@ppf2
Copy link
Member

ppf2 commented May 1, 2024

This is a general enhancement request idea to the connectors framework so that we can avoid future issues like #2264 where a bad schema from index migration ended up causing all sync jobs to fail to start.

  1. Each connectors version should have knowledge about the "correct" mappings it expects for its system indices.
  2. Implement a mappings validation functionality at startup of the connector service (or at the end of the migration process) so that it can perform an integrity check on the mapping. If the mapping doesn't check out, we can terminate the connector service and throw a fatal exception to report the schema integrity issue so the user can take action.

This will ensure that we fail fast and don't end up with various features breaking in Connectors due to bad mappings in our system indices.

@ppf2 ppf2 added the enhancement New feature or request label May 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant