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

caom2harvester: failure to cleanup skip records when nothing to do #223

Open
pdowler opened this issue Feb 23, 2021 · 0 comments
Open

caom2harvester: failure to cleanup skip records when nothing to do #223

pdowler opened this issue Feb 23, 2021 · 0 comments
Labels

Comments

@pdowler
Copy link
Member

pdowler commented Feb 23, 2021

caom2harvester --validate mode can detect observations that are not in source and records a skip record for the missed deletion.

caom2harvester (incremental mode) will perform the deletion

caom2harvester --skip will "retry" the observation but will fail trying to delete rather than detect that incremental already did it and just cleanup the skip record. Operation should just be silently idempotent.

aside: incremental mode should also remove skip records for deleted observations (it does for inserted/updated).

@pdowler pdowler added the bug label Feb 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant