Skip to content
  1. May 23, 2023
  2. May 17, 2023
    • Alberto Miranda's avatar
      Move `deploy_adhoc_storage` logic to `scord-ctl` · 4f2d492f
      Alberto Miranda authored
      `scord` now just forwards the request to the appropriate `scord-ctl`
      instance.
      4f2d492f
    • Alberto Miranda's avatar
      Improve network::server API · bd901bcc
      Alberto Miranda authored
      - Add `endpoint lookup(std::string address)` so that a RPC server can
      lookup peers for RPC forwarding.
      - Add `std::string self_address()` so that a RPC server can determine
      its own address string.
      bd901bcc
    • Alberto Miranda's avatar
      WIP: fix logger (merge with previous) · e1c57a55
      Alberto Miranda authored
      e1c57a55
    • Alberto Miranda's avatar
      RPC handlers can now access server context · 0ad18d79
      Alberto Miranda authored
      Our network interface now relies on Thallium's support for `providers`
      (https://mochi.readthedocs.io/en/latest/thallium/09_providers.html).
      This allows using the member functions from a class as RPC handlers,
      which in turn allows RPC handers to access the class' data members.
      
      Thus, we have heavily refactored `scord`:
      
      - Create a new `scord::rpc_server` class that inherits both from
      `network::server` and `network::provider`. This enables the
      aforementioned functionality.
      - The RPC handlers for `scord` are now member functions of
      `scord::rpc_server` instead of free functions.
      - The managers used by `scord` (i.e. the `job_manager`,
      `adhoc_storage_manager`, and `pfs_storage_manager` are now members of
      `scord::rpc_server` instead of singletons, since they no longer need to
      be accessed globally.
      
      Similarly for `scord-ctl`:
      - Create a new `scord_ctl::rpc_server` class that inherits both from
      `network::server` and `network::provider`. This enables the
      aforementioned functionality.
      - The RPC handlers for `scord-ctl` are now member functions of
      `scord_ctl::rpc_server` instead of free functions.
      
      Additionally, we have also moved the `network` and `logger` namespaces
      outside of `scord`, since this code is shared by both `scord` and
      `scord-ctl`.
      0ad18d79
    • Alberto Miranda's avatar
      WIP: Add control node address to ADM_adhoc_context_t · b4e9cbde
      Alberto Miranda authored
      Update tests to start scord-ctl as needed
      b4e9cbde
    • Alberto Miranda's avatar
      Remove unused code · a9d4eb8f
      Alberto Miranda authored
      a9d4eb8f
    • Alberto Miranda's avatar
    • Alberto Miranda's avatar
  3. May 11, 2023
  4. May 10, 2023
  5. May 09, 2023
  6. Mar 28, 2023
  7. Feb 27, 2023
  8. Feb 22, 2023
    • Alberto Miranda's avatar
      Merge branch... · f49ce869
      Alberto Miranda authored
      Merge branch 'amiranda/114-missing-information-about-which-job-nodes-can-be-used-for-administrative-purposes' into 'main'
      
      Resolve "Missing information about which job nodes can be used for administrative purposes"
      
      Closes #114
      
      See merge request !85
      f49ce869
    • Alberto Miranda's avatar
      1bd1e360
    • Alberto Miranda's avatar
      Merge branch... · 74d42921
      Alberto Miranda authored
      Merge branch 'amiranda/106-adm_adhoc_resources_t-should-be-an-explicit-argument-of-adm_register_adhoc_storage-rather-than' into 'main'
      
      Resolve "`ADM_adhoc_resources_t` should be an explicit argument of `ADM_register_adhoc_storage()` rather than a parameter of `adhoc_ctx`"
      
      This MR modifies the API calls `ADM_register_adhoc_storage()` so that
      the storage resources required for the adhoc instance are passed as 
      an explicit argument rather than as part of the adhoc's execution 
      context.
      
      Following this line, it also modifies `ADM_update_adhoc_storage()` in 
      so that the adhoc resources can be modified dynamically, rather than
      the execution context which is left as a static property.
      
      Closes #106
      
      See merge request !84
      74d42921
    • Alberto Miranda's avatar