#50193 Ticket 50177 - import task should not be deleted too rapidely after import finishes to be able to query the status
Closed by spichugi. Opened by tbordaz.
tbordaz/389-ds-base ticket_50177  into  master

Download 50193.patch

Bug Description:
scripts that create online import and export tasks do not define a Time To Life of the tasks.
As a consequence the task entry is cleared 2min (default value) after task completion.
This is too rapid and some admin scripts may miss the final task status.

Fix Description:
The fix is to keep the entry of completed online import and export tasks for 1 day.
It also allows defines a default TTL to 1h (instead of 2min)

https://pagure.io/389-ds-base/issue/50177

Reviewed by:

Platforms tested: F27

Flag Day: no

Doc impact: no

Pull-Request has been merged by tbordaz

Just to point out, the perl tools should not exist in a 1.4.x install, so this change really should be in the python versions of the lib389 tasks ....

389-ds-base is moving from Pagure to Github. This means that new issues and pull requests
will be accepted only in 389-ds-base's github repository.

This pull request has been cloned to Github as issue and is available here:
- https://github.com/389ds/389-ds-base/issues/3252

If you want to continue to work on the PR, please navigate to the github issue,
download the patch from the attachments and file a new pull request.

Thank you for understanding. We apologize for all inconvenience.

Pull-Request has been closed by spichugi

Metadata