1. 07 Jan, 2022 9 commits
  2. 06 Jan, 2022 2 commits
  3. 04 Jan, 2022 1 commit
  4. 03 Jan, 2022 4 commits
  5. 31 Dec, 2021 4 commits
  6. 28 Dec, 2021 3 commits
  7. 27 Dec, 2021 1 commit
  8. 23 Dec, 2021 1 commit
    • Vincent Pelletier's avatar
      Products.CMFActivity.ActivityTool: Improve behaviour on single-node instances. · 041642d0
      Vincent Pelletier authored
      - Ignore node preference when spawning activities.
        Otherwise, activities which are not spawned with a preferred node will
        get an effective priority penalty compared to same-priority activities
        spawned *with* a node preference, despite both being to execute by the
        same processing node.
      - Break activity processing loop when the current processing node is also
        the activity validation node.
        This avoids pathological cases of activity accumulation, for example when
        reindexing an entire site: _recurseCallMethod is spawned in
        processing_node=0, but immediateReindexObject is spawned in
        processing_node=-1 because of serialization_tag dependency, so with such
        loop _recurseCallMethod will be executed over and over, piling indexation
        activities up until _recurseCallMethod does not self-respawn.
        In turn, such activity accumulation lead to an increased overhead, and
        decreased activity processing efficiency.
        This may also allow multi-node instances to more reliably use the
        validation node as a processing node.
      
      The cost for multi-node instances of these changes should be absolutely
      minimal (no extra IO necessary, minimal extra code).
      A possible drawback on single-node instances is that tic period may become
      more important because process_timer will return more often.
      041642d0
  9. 22 Dec, 2021 1 commit
  10. 21 Dec, 2021 1 commit
  11. 15 Dec, 2021 5 commits
  12. 14 Dec, 2021 4 commits
  13. 13 Dec, 2021 2 commits
  14. 07 Dec, 2021 2 commits