-
Task
-
Resolution: Unresolved
-
Major
-
None
-
SaaS
-
None
-
2
-
Not Started
-
Not Started
-
Not Started
-
Not Started
-
Not Started
-
Not Started
-
Engineering
-
3scale 2020-02-17, 3scale 2020-03-09, 3scale 2020-03-23
We did THREESCALE-971 and THREESCALE-1836, however, the Tue, 26 Mar 2019 we started destroying old inactive tenants from our DB and it was a big disaster, so as an emergency we disabled the deletion of tenants (only for SaaS).
After we fix the efficiency of deleting tenants, we can enable this task again. For that we must remove this line.
Also we should execute deletes in smaller batches, but that is to be decided when the moment arrives (THREESCALE-11768).
TESTING: this is an internal change with no user facing changes. So I don't think it is feasible to be tested by end-to-end test suite. But I leave it to QE to decide. The basic idea is that now you can remove huge tenants and services without overloading your 3scale cluster but there is no easy reproducer for triggering the issue in the past vs non-triggering. In the past, if you had a big service or a tenant that you wanted to remove and your 3scale instance was under load, then it often happened that there would be an unending cycle of sidekiq jobs being rescheduled until uncontained they may end up crashing sidekiq. Not to say performance degradation during this.
- is blocked by
-
THREESCALE-2988 Improve some specific queries for Deleting objects in background
-
- Closed
-
-
THREESCALE-3637 When deleting in parallel, try once to unstore credit card before destroying the buyer
-
- Closed
-
-
THREESCALE-3395 Segment GraphQL deprecation on 2019, September 10th
-
- Closed
-
-
THREESCALE-3702 Improve background deletion logic (whitelist)
-
- Closed
-
-
THREESCALE-3785 ActiveRecord::RecordNotUnique while destroying tenants (but the tenant and its hierarchy is destroyed)
-
- Closed
-
-
THREESCALE-5494 Porta/System tries to push 'key deleted' webhook when application key is destroyed and the application is either already destroyed or about to be destroyed in a moment
-
- Closed
-
-
THREESCALE-11766 optimize DeleteObjectHierarchyWorker
-
- To Develop
-
- is duplicated by
-
THREESCALE-8321 Delete an account with an immediate effect
-
- Closed
-
- is related to
-
THREESCALE-4483 Manually destroy in background the tenant with ID 2445580539982
-
- Closed
-
-
THREESCALE-4032 Remove any delays in the deletion of all objects
-
- Closed
-
-
THREESCALE-2204 Fix efficiency/bugs to destroy tenants/services and enable the worker again
-
- Closed
-
- relates to
-
THREESCALE-6782 Manually destroy in background the tenant with ID 2445581456077
-
- Closed
-
-
THREESCALE-4032 Remove any delays in the deletion of all objects
-
- Closed
-
- mentioned on