1. 26 Mar, 2018 4 commits
    • Boxiang Sun's avatar
      CMFActivity: Use a random value for activity uids · e1549361
      Boxiang Sun authored
      Sequential number generators stored in a fixed-size format eventually run
      out of values. But activity queues only care about what activities are
      currently present: any uid can be reused as soon as it is available.
      So stop using a sequential id generator for activity uids, and instead use
      random values.
      
      Vincent Pelletier:
      - Commit message.
      - Minor formatting changes.
      - Do probability computations, and increase activity uid storage size to
        64bits integers, up from 32. Table schema migration happens on first
        activity node which starts on upgraded code.
      - Apply to SQLJobLib too.
      e1549361
    • Vincent Pelletier's avatar
      CMFActivity: Stop deleting duplicates during SQLDict.distribute · d0472bc2
      Vincent Pelletier authored
      Duplicate message detection is not good enough: different messages with
      the same unicity value may bear different serialization_tags. This code
      does not takes this into account, which can lead to deleting such tagged
      message and validate an untagged one, which breaks serialization_tag
      contract of preventing any further activity validation until execution
      of all such-tagged validated activities is successful.
      Also, it is not validation's node job to deduplicate: it can happen during
      message execution without slowing down this crucial (performance-wise)
      activity node.
      As a result, distribute methods of SQLDict and SQLQueue can be factorised.
      d0472bc2
    • Vincent Pelletier's avatar
      EPR5Type: Drop unused import. · 3f26e402
      Vincent Pelletier authored
      3f26e402
    • Vincent Pelletier's avatar
  2. 23 Mar, 2018 1 commit
  3. 22 Mar, 2018 1 commit
  4. 21 Mar, 2018 4 commits
  5. 20 Mar, 2018 17 commits
  6. 19 Mar, 2018 4 commits
  7. 18 Mar, 2018 1 commit
  8. 16 Mar, 2018 8 commits