Started 1 yr 2 mo ago
Took 56 sec on ip-90-147-189-52.pa1.garrservices.it

Build #92 (Sep 10, 2025 12:11:07 PM)

Changes
  1. Code polishing. (details / Gitea)
  2. Add the backbone code for generating and storing assignments' parquet files. (details / Gitea)
  3. - Update the "WorkerInfo" model to include the "hasActiveWork" field. (details / Gitea)
  4. Update the "getAssignmentsQuery" to get exactly "assignmentsLimit" results, by aggregating a subset of the whole ordered dataset, to get only one datasourceid per id-url pair. (details / Gitea)
  5. - Add the new "prefillPayloads"-code for the future "DayAssignments"-logic. (details / Gitea)
  6. Remove the old "prefillPayloads"-code which was run during the processing of each workerReport. (details / Gitea)
  7. Add the new flag "shouldPauseRequests" and use it across endpoints and scheduled jobs. This, at times, will be set to "true", by future code. (details / Gitea)
  8. - Add the "workerAssignmentsDirectoryPath" configuration and the related initialization code. (details / Gitea)
  9. - Add the "hasAnyWorkerActiveWork" method. It will be used in the future to safely perform scheduled-maintenance tasks. (details / Gitea)
  10. Generalize the following methods: (details / Gitea)
  11. - Update configuration to have distinct "workerAssignmentLimit" and "controllerDayAssignmentLimit". (details / Gitea)
  12. Move the "isControllerProcessingJobs"-code to its own method, to be used later in more places. (details / Gitea)
  13. Add the top-level logic of handling the creation of "DayAssignments" on app's initialization and every day, during the nighttime. (details / Gitea)
  14. Add the low-level logic of generating, storing, transforming and delivering "DayAssignments" to the workers, as well as initiating the "prefill" of payloads. (details / Gitea)
  15. - Make sure the temporal assignments' remote parquet directories are deleted, after the data gets loaded to the DB-table. (details / Gitea)
  16. - Code polishing. (details / Gitea)
  17. Update the "getPayloadsWithPrefilledQuery" to perform the "anti-join" with the plain "assignment" table, in order to avoid prefilling id-url pairs which previously failed to be loaded to the DB and at that time they wait for re-processing. The previous use of the "day_assignment" table was a mistake, even if the anti-join with it was not enabled. (details / Gitea)
  18. Optimize the "getPayloadsWithPrefilledQuery", by improving efficiency. (details / Gitea)
  19. - Activate the scheduling of "getAndCacheDayAssignments", every day at 03:00 o'clock, and specify to use the "Europe/Athens" time-zone. (details / Gitea)
  20. - Avoid waiting for workers to finish their active work, before running the scheduled task "getAndCacheDayAssignments", in order to avoid running the DayAssignments-refill process later in the day and potentially introduce load in the DB during the start of working-hours. (details / Gitea)
  21. - Upgrade the "getPayloadsWithPrefilledQuery", making it more efficient and robust. (details / Gitea)
  22. Detect when the Controller is out-of-data for at least one of the assignments'-type and provide a "Retry-After" header to those Workers, to avoid filling-up with error messages on both sides. (details / Gitea)
  23. - Improve efficiency and stability when acquiring dayAssignments. (details / Gitea)
  24. - Allow setting different "controllerDayAssignmentLimit", "workerAssignmentLimit" and "maxAttemptsPerRecord" for PDF and HTML processes. (details / Gitea)
  25. - Fix an issue causing possible starvation of assignments' delivery to the workers. The longer the time from the app's initialization, the more permanent the starvation could become. This was due to the fact that "WorkerFileBatchCounters" could outgrow the "AssignmentsBatchCounters" leading to less and less workerFiles with their names sharing the same counters, until the file-names could start with a number which could be out-of-reach for the assignmentBatchCounters. (details / Gitea)
  26. Update the "getAndCacheDayAssignments()"-logic: (details / Gitea)
  27. Change the time-zone in which the scheduled "getAndCacheDayAssignments"-job is initiated, to "Central European Time (CET/CEST)", by using the city-name of "Rome" (due to IANA-db-limitations cannot use the "CET/CEST" abbreviations directly). (details / Gitea)
  28. Update the "getNumOfPayloadsAggregatedByServiceThroughBulkImportQuery" and "getNumOfLegacyPayloadsQuery" in "StatsController", to account for multiple payloads per id-url pair, in the "payload_bulk_import" and the "payload_legacy" tables. (details / Gitea)

Started by an SCM change

Revision: 313a9d76ac0302e02b978eaafaeb1f2a9d47e8e0
Repository: https://code-repo.d4science.org/lsmyrnaios/UrlsController.git
  • refs/remotes/origin/master