-
Notifications
You must be signed in to change notification settings - Fork 468
Closed
Labels
Bug:1:MinorA bug found in uncommon paths, with low consequences, limited users or has an easy workaroundA bug found in uncommon paths, with low consequences, limited users or has an easy workaround
Milestone
Description
Describe the bug
The issue #9833, highlighted another issue (refer to the linked issue before reading the rest).
Problems:
- The skipped log file is placed back to the staging folder, which means the system will attempt to process it again on the next run (infinite loop).
- The presence of a single bad file affects the processing of other valid files, because of this condition:
pkp-lib/classes/task/PKPUsageStatsLoader.php
Lines 109 to 112 in 11e269d
$processFilesResult = parent::executeActions(); if (!$processFilesResult) { return false; }
If N log files are ok, those N files will be moved to the dispatch folder, and wait for a job to process them, but this never happens, due to the failing log file that makes the process quit.
Besides coming up with a fix, I think it's good to add extra log messages, this required some debugging.
What application are you using?
OJS 3.4
PRs:
stable-3_4_0:
- pkp/pkp-lib9834 allow further usage log file processing for successfu… #9844
- pkp/pkp-lib#9834 submodule update ##bozana/9834-3_4_0## ojs#4227 (only submodule update)
- pkp/pkp-lib#9834 submodule update ##bozana/9834-3_4_0## omp#1539 (only submodule update)
- pkp/pkp-lib#9834 submodule update ##bozana/9834-3_4_0## ops#652 (only submodule update)
main:
Metadata
Metadata
Assignees
Labels
Bug:1:MinorA bug found in uncommon paths, with low consequences, limited users or has an easy workaroundA bug found in uncommon paths, with low consequences, limited users or has an easy workaround