1. 29 Jan, 2021 33 commits
  2. 19 Jan, 2021 3 commits
    • Łukasz Nowak's avatar
      Update Open Order simulation in alarm. · 3cccb99f
      Łukasz Nowak authored
      Also minimise activity hurricane by calling expand directly.
      
      Open Orders are searched using indexation timestamp, which allows to see them
      in "windows", and does not repeat expand if not needed.
      
      Generate activities and allow to pass the tag. Use search and activate
      everywhere which will allow to walk through objects without killing the cluster
      even in case of really big documents.
      
      Avoid calling isDivergent which can take few minutes to finish.
      
      causality_state comes from well designed causality workflow, which informs
      enough about delivery state. Fetching causality_state property is extremely
      fast.
      3cccb99f
    • Rafael Monnerat's avatar
      Remove most disguised interactions related to simulation. · 45ac7c6d
      Rafael Monnerat authored
      Notes:
      
      Do nothing on 'calculate' instead of disabling *_causality_interaction_workflow as
      these interaction workflows do not generate activities directly, and do work
      that can't be postponed.
      
      By contrast, 'calculate' transition of delivery_causality_workflow is modified
      so that no 'updateCausalityState' activity is created by default.
      
      This commit also update list of method_id which should not call calculate_causality
      45ac7c6d
    • Romain Courteaud's avatar
      Proxy role is needed to access the site message context. · d5422c88
      Romain Courteaud authored
      Conflicts:
      	bt5/erp5_crm/bt/revision
      d5422c88
  3. 18 Jan, 2021 2 commits
    • Vincent Pelletier's avatar
      CMFActivity: Optimise validation queries. · a016ed04
      Vincent Pelletier authored
      See SQLBase._getExecutableMessageSet for operation principle.
      Removes the notion of order_validation_text: activity validation is no
      longer evaluated per-activity , but per-dependency for multiple activities
      at a time. In this context, order_validation_text does not make sense as
      it flattens all dependency types for a given activity.
      Rework activity-dependency-to-SQL methods: use a dict rather
      dynamically-generated method names.
      Based on initial work by Julien Muchembled.
      a016ed04
    • Vincent Pelletier's avatar
      CMFActivity.Activity.SQLBase: Properly release reserved messages when load raises. · f09e1a36
      Vincent Pelletier authored
      Seen happen on SQLDict with 94 indexation activities being stuck assigned
      to a processing node on which load failed because of an SQL deadlock.
      f09e1a36
  4. 14 Jan, 2021 2 commits