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

Handle basic data incosistencies in restore #12

Open
juarezr opened this issue May 14, 2020 · 1 comment
Open

Handle basic data incosistencies in restore #12

juarezr opened this issue May 14, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@juarezr
Copy link
Owner

juarezr commented May 14, 2020

Usually data inconsistencies happen when:

  1. User changed core managed schema after imported documents
  2. Target core has a schema with a subset of fields of source core schema

Data inconsistencies to handle:

  1. Missing required fields in documents
  2. Wrong value type for a field like string/int/float, string/datetime, etc...

Todo:

  1. Detect data inconsistency while posting the Json batch of documents into the core update handler
  2. Write inconsistent documents from the batch to a separated file
  3. Check if remaining documents in the json batch are correctly stored into the core
  4. Try to skip as many cases as possible
@juarezr
Copy link
Owner Author

juarezr commented May 14, 2020

Probably can work with a mecanism like transformations of #4 for filling/editing missing values.

@juarezr juarezr added the enhancement New feature or request label May 14, 2020
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