Needs work
Project:
Drupal core
Version:
main
Component:
file system
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
13 Jun 2019 at 18:21 UTC
Updated:
23 Mar 2023 at 02:34 UTC
Jump to comment: Most recent, Most recent file
When garbage collection successfully deleted a temporary file, It should log a message for the admin to aware of.
Also sort the query by "changed" field in DESC (Descending order), this will help to eliminate a situation when a large amount of files to delete and the delete process can't process the newest temporary files. This change will start the delete process from the newest temporary file.
| Comment | File | Size | Author |
|---|---|---|---|
| #15 | 3061640-15.patch | 524 bytes | ranjith_kumar_k_u |
| #14 | 3061640-nr-bot.txt | 144 bytes | needs-review-queue-bot |
| #11 | interdiff-10_11.txt | 537 bytes | gauravvvv |
| #11 | 3061640-11.patch | 503 bytes | gauravvvv |
| #10 | 3061640-9.patch | 506 bytes | ranjith_kumar_k_u |
Comments
Comment #2
finaukaufusiComment #3
cilefen commentedComment #9
ranjith_kumar_k_u commented.
Comment #10
ranjith_kumar_k_u commentedRe-rolled #2 for 9.4. The log message code is already there, I just added the sort condition.
Comment #11
gauravvvv commentedFixed phpcs issue, Attached interdiff for same. Please review.
Comment #14
needs-review-queue-bot commentedThe Needs Review Queue Bot tested this issue. It either no longer applies to Drupal core, or fails the Drupal core commit checks. Therefore, this issue status is now "Needs work".
Apart from a re-roll or rebase, this issue may need more work to address feedback in the issue or MR comments. To progress an issue, incorporate this feedback as part of the process of updating the issue. This helps other contributors to know what is outstanding.
Consult the Drupal Contributor Guide to find step-by-step guides for working with issues.
Comment #15
ranjith_kumar_k_u commentedRe-rolled #11
error: patch failed: core/modules/file/file.module:650
error: core/modules/file/file.module: patch does not apply
Comment #16
ranjith_kumar_k_u commentedComment #17
smustgrave commentedEven though this is a task it seems like it will need test coverage.
Comment #18
gauravvvv commentedUpdating attributions