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

Deleting (some) realms return 502 #35

Open
mpanik opened this issue Jun 30, 2020 · 3 comments
Open

Deleting (some) realms return 502 #35

mpanik opened this issue Jun 30, 2020 · 3 comments
Assignees
Labels
bug Something isn't working ddap DDAP development p3

Comments

@mpanik
Copy link
Collaborator

mpanik commented Jun 30, 2020

Try:

  1. Use realm ddap-ic-admin_journey_WorkflowJourneyTes
  2. Send DELETE request
  3. Observe 502

Note that we are able to remove new realms, but not the existing one from above (the realm is too big?).

@cdvoisin
Copy link
Collaborator

Possible timeout or something as we delete 400 or 500 entries at a time in a loop. Likely this should be a long-running background operation. Can you confirm it only happens on realms with lots of data, such as many user accounts, login states, etc?

@cdvoisin cdvoisin added bug Something isn't working ddap DDAP development p3 labels Jun 30, 2020
@mpanik
Copy link
Collaborator Author

mpanik commented Jul 1, 2020

@cdvoisin yes I do confirm. If the deletion is done in background maybe DAM/IC could return right away 202 and a Location header where we can fetch the status of deletion. wdyt?

@cdvoisin
Copy link
Collaborator

We'd likely need to build some additional infrastructure for this, likely leveraging our current "process" background stuff like "keyGC" uses. Perhaps this is out of scope for this phase but let's revisit with the next bundle of work. Does that work for you?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working ddap DDAP development p3
Projects
None yet
Development

No branches or pull requests

2 participants