Skip to content
This repository has been archived by the owner on Feb 29, 2024. It is now read-only.

Provide a 'tombstone' option to indicate that Bag was deleted #8

Closed
mjordan opened this issue Nov 22, 2017 · 2 comments
Closed

Provide a 'tombstone' option to indicate that Bag was deleted #8

mjordan opened this issue Nov 22, 2017 · 2 comments
Assignees

Comments

@mjordan
Copy link
Owner

mjordan commented Nov 22, 2017

If a bag has been deleted, we should not delete its document in the index. Rather, we should

  1. update the tombstone field from false to 'true and
  2. update the document's timestamp

That way, the last state of the document, and all of its previous versions, remain in the index.

@mjordan mjordan self-assigned this Nov 22, 2017
mjordan added a commit that referenced this issue Nov 22, 2017
@mjordan
Copy link
Owner Author

mjordan commented Nov 22, 2017

Since the watcher script will provide the path of the deleted bag as the input to the tombstone script, we will need to resolve #11 before this issue can be closed.

@mjordan
Copy link
Owner Author

mjordan commented Nov 22, 2017

Fixed with a30ce7e.

@mjordan mjordan closed this as completed Nov 22, 2017
mjordan added a commit that referenced this issue Nov 22, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant