Skip to content
Snippets Groups Projects
  1. Sep 27, 2021
  2. Sep 24, 2021
  3. Sep 22, 2021
  4. Sep 07, 2021
    • Daniel Lyons's avatar
      Fix stability issues in capability service · cfcec469
      Daniel Lyons authored
      This is two lines of thought combined into one merge:
      
      1. AMQP clients should either receive messages or send messages
      2. Capability queues are based on a database-backed queue manager rather than keeping state in-memory
      
      Most of the work relating to the first idea comes in refactoring the Router to not be a message sender. Many places in the code now either instantiate a MessageSender instead, or use both a Router and a MessageSender if they truly needed both functionalities. The previous implementation appears to have caused messages to arrive out of order because facilities like `wf_monitor` that only send messages were also trying to receive messages, and either not handling them at all or putting them into a buffer of some kind to be dropped on the floor when the process ended.
      
      The work relating to the second idea changes the way that steps are processed in the capability service and eliminates the capability engine concept. Now when PrepareAndRunWorkflow steps are reached, the capability is simply moved into the Waiting state and the queue manager is signaled. Whenever the queue manager is awakened, it checks to see if any queues have slots available and requests waiting. If they do, the number of available slots are used to get requests and start executing them. When an execution exits the cluster, the queue manager is signaled again, so the process continues until all the jobs are processed. As a stability benefit, we check this on startup as well.
      cfcec469
  5. Aug 30, 2021
  6. Aug 19, 2021
  7. Jul 29, 2021
  8. Jul 19, 2021
  9. Jul 15, 2021
  10. Jun 30, 2021
  11. Jun 24, 2021
  12. Jun 21, 2021
  13. Jun 10, 2021
  14. Jun 09, 2021
  15. Jun 03, 2021
  16. Jun 01, 2021
  17. May 25, 2021
  18. May 21, 2021
  19. May 19, 2021
  20. May 17, 2021
  21. May 05, 2021
  22. Apr 23, 2021
  23. Mar 31, 2021
  24. Mar 30, 2021
  25. Mar 22, 2021
    • Daniel Lyons's avatar
      Done: · 02e5db21
      Daniel Lyons authored and Nathan Hertz's avatar Nathan Hertz committed
      - Datafetcher runs in container and retrieves data
      - Delivery can deliver data to a directory within the container
      02e5db21
  26. Mar 18, 2021
    • Charlotte Hausman's avatar
      WS-127: Rework messaging system · 8962f974
      Charlotte Hausman authored and Nathan Hertz's avatar Nathan Hertz committed
      Messaging system is now running on a more robust foundation:
      - `kombu` package for AMQP networking
      - New Messenger and Router objects
      - New message format
      - Easy-to-use callback subscribing
      - Can now get messages anywhere in the system easily and send replies back easily
      8962f974
  27. Feb 17, 2021
  28. Feb 02, 2021
  29. Jan 28, 2021
  30. Jan 26, 2021
Loading