Requests to delete data should be handled asynchronously

Description

Delete requests are currently handled synchronously within the http request thread. 9 out of 10 times the delete operation will complete before the http timeout hits, but in cases of large data set it can become an issue that the delete operation exceeds the http timeout window and the transaction is rolled back resulting in undeletable data.

Delete requests for sites, jobs and builds should be handled asynchronously to the http request to allow the database transaction to complete even if it takes longer than the http request timeout window allows.

Environment

None

Activity

Show:
Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Components

Priority

Zoom

Open Zoom
Created January 4, 2020 at 11:41 AM
Updated January 4, 2020 at 11:06 PM
Resolved January 4, 2020 at 11:06 PM
Zoom