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
Investigate strategies for removing cascading entities #1803
Labels
kind/enhancement
A feature request - must adhere to the feature request template.
Milestone
Comments
skabashnyuk
added
kind/task
Internal things, technical debt, and to-do tasks to be performed.
sprint/next
team/platform
labels
Jul 18, 2016
Closed
5 tasks
skabashnyuk
added
kind/enhancement
A feature request - must adhere to the feature request template.
sprint/current
and removed
kind/task
Internal things, technical debt, and to-do tasks to be performed.
sprint/current
sprint/next
labels
Jul 19, 2016
voievodin
added
the
status/in-progress
This issue has been taken by an engineer and is under active development.
label
Jul 26, 2016
voievodin
removed
the
status/in-progress
This issue has been taken by an engineer and is under active development.
label
Aug 3, 2016
@skabashnyuk - I think we can close this issue, correct? This was an investigation issue and we have already completed the implementation and merge. |
issues is not closed because code related to it is not merged in master. We will do that when epic #1790 will be closed |
skabashnyuk
added
status/open-for-dev
An issue has had its specification reviewed and confirmed. Waiting for an engineer to take it.
sprint/current
and removed
status/pending-merge
sprint/current
status/open-for-dev
An issue has had its specification reviewed and confirmed. Waiting for an engineer to take it.
labels
Sep 20, 2016
bmicklea
changed the title
Investigate strategies for cascade entities removing
Investigate strategies for removing cascading entities
Sep 28, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The problem:
User removed, but related entities like Workspaces, Factories or Permissions are not removed which leaves the system in inconsistent state and causes different problems(e.g. if workspace is not removed than namespace is still aquired by non-existing user, while it is impossible to use that namespace).
Requirements:
So the strategy of cascade removing should be rather on application-level than on the DBMS level which allows to control EntityRemoved events.
What should be done:
As a result we should investigate the best way for performing cascade remove which fits our application architecture with all the pros and cons of it.
Consider using:
The text was updated successfully, but these errors were encountered: