Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add repository service to supervisor #496

Open
2 tasks
GMKrieger opened this issue Jun 28, 2024 · 0 comments
Open
2 tasks

Add repository service to supervisor #496

GMKrieger opened this issue Jun 28, 2024 · 0 comments
Assignees
Labels
#feat:db Feature: database
Milestone

Comments

@GMKrieger
Copy link
Contributor

📚 Context

The repository is the central component of the Node, which every other service communicates with. It needs to be maintained by the supervisor, as an error with it needs to addressed and corrected ASAP for the Node to function properly.

✔️ Solution

The repository needs a service interface as defined in the services.go method start, that starts the repo and sends back the connection pool that's going to be used by the other services.

It needs to have a validation channel that triggers an error in case the service ever stops, for any reason, as without the repository, the Node cannot function and may arrive in an improper state. From this, it needs to be restart or the whole node shut down.

📈 Subtasks

  • Create repository service
  • Add it to the supervisor
@GMKrieger GMKrieger added the #feat:db Feature: database label Jun 28, 2024
@GMKrieger GMKrieger added this to the 2.0.0 milestone Jun 28, 2024
@GMKrieger GMKrieger self-assigned this Jun 28, 2024
@GMKrieger GMKrieger moved this to 📋 Backlog in Node Unit Jun 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
#feat:db Feature: database
Projects
Status: 📋 Backlog
Development

No branches or pull requests

1 participant