Skip to content

Statistics processing is stalled #9834

@jonasraoni

Description

@jonasraoni

Describe the bug
The issue #9833, highlighted another issue (refer to the linked issue before reading the rest).

Problems:

  1. 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).
  2. The presence of a single bad file affects the processing of other valid files, because of this condition:
    $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:

main:

Metadata

Metadata

Assignees

Labels

Bug:1:MinorA bug found in uncommon paths, with low consequences, limited users or has an easy workaround

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions