- Jul 03, 2023
-
-
Alberto Miranda authored
Merge branch 'amiranda/142-rpc-servers-should-print-their-connection-address-as-returned-by-thallium' into 'main' Resolve "RPC servers should print their connection address as returned by thallium" Closes #142 See merge request !100
-
Alberto Miranda authored
-
Alberto Miranda authored
Resolve "Allow `scord-ctl` to write a pidfile" Closes #141 See merge request !99
-
Alberto Miranda authored
-
Alberto Miranda authored
Resolve "Missing public interfaces for `ADM_node_t`" Closes #140 See merge request !98
-
Alberto Miranda authored
- Add `ADM_node_get_hostname()` - Add `ADM_node_get_type()`
-
Alberto Miranda authored
Resolve "`scord-ctl` binary is not installed" Closes #139 See merge request !96
-
Alberto Miranda authored
Fixes #139
-
- Jun 12, 2023
-
-
Alberto Miranda authored
Resolve "Use configured scripts for adhoc deployment/teardown" This MR updates the deployment and termination RPCs so that they are executed by `scord-ctl`. The mechanism takes advantage of the configuration information added in !93 to generate generic commands for each configured adhoc storage instance. This MR also updates `ADM_register_adhoc_storage`, making it generate and record an internal `adhoc_uuid` that can be forwarded to `scord-ctl` to refer to running adhoc storage instances. This MR also renames the RPC `ADM_tear_down_adhoc_storage` to `ADM_terminate_adhoc_storage`. Closes #133 See merge request !94
-
Alberto Miranda authored
- Rename `ADM_tear_down_adhoc_storage` RPC and related functions to `ADM_terminate_adhoc_storage`. - scord-ctl: The new implementation for the RPC handler makes use of the new configuration files to construct the command line for termination.
-
Alberto Miranda authored
- scord-ctl: The new implementation for the RPC handler makes use of the new configuration files to construct the command line for deployment. The RPC handler will now reply with the generated path for the adhoc storage system (`adhoc_dir`) in addition to an appropriate error code. - scord: The RPC handler has been refactored and will now propagate `adhoc_dir` to the client API. - API: The newly generated `adhoc_dir` is propagated to client code. - examples: Updated to account for the new `adhoc_storage_path` argument in the APIs. foo
-
Alberto Miranda authored
- Move as much code as possible to `logger.cpp` - Create `logger_base` with common code - Create `logger_sync` and `logger_async` classes to allow creating synchronous and asynchronous loggers as needed. - Replace all mentions to `global_logger` by `default_logger`
-
- Jun 07, 2023
-
-
Alberto Miranda authored
Resolve "Adhoc storage deployment needs to be refactored" This MR implements a generic mechanism for deploying adhoc storage systems in `scord-ctl`. The mechanism allows users to define via the `scord-ctl.conf` configuration file which scripts should be used to start and stop an adhoc storage system. Closes #116 See merge request !93
-
Alberto Miranda authored
- Reason: There are issues with `std::ranges` implementation in clang-10, clang-11, and clang-12 (at least).
-
Alberto Miranda authored
-
Alberto Miranda authored
-
Alberto Miranda authored
-
Alberto Miranda authored
-
Alberto Miranda authored
-
- May 31, 2023
-
-
Alberto Miranda authored
- Refactor `eval()`: The function now returns a new `command` instance. - Add `as_vector()`: This function splits the command line by ' ' and returns it as a vector of strings.
-
Alberto Miranda authored
- Implement `environment::as_vector()`. - Add `environment::size()`.
-
- May 29, 2023
-
-
Alberto Miranda authored
-
- May 26, 2023
-
-
Alberto Miranda authored
-
- May 23, 2023
-
-
Alberto Miranda authored
Merge branch 'amiranda/115-adhoc-storage-deployment-needs-to-be-executed-by-scord-ctl-instead-of-scord' into 'main' Resolve "Adhoc storage deployment needs to be executed by `scord-ctl` instead of `scord`" Closes #115 See merge request !92
-
Alberto Miranda authored
-
Alberto Miranda authored
-
Alberto Miranda authored
-
- May 17, 2023
-
-
Alberto Miranda authored
`scord` now just forwards the request to the appropriate `scord-ctl` instance.
-
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.
-
Alberto Miranda authored
-
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`.
-
Alberto Miranda authored
Update tests to start scord-ctl as needed
-
Alberto Miranda authored
-
Alberto Miranda authored
Fixes #129
-
Alberto Miranda authored
-
- May 11, 2023
-
-
Alberto Miranda authored
-
Alberto Miranda authored
-
Alberto Miranda authored
Fixes #128
-
Alberto Miranda authored
-
Alberto Miranda authored
-