-
Notifications
You must be signed in to change notification settings - Fork 2k
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
[feature] pluggable storage #4681
Comments
Duplicates #5378 ? |
@Cricket007 I think this is mostly asking about Nomad's own internal storage (the "state store" where it stores information about jobs and whatnot), and not storage for tasks to use. It seems unlikely to me that we'd want to support external storage for Nomad's state because it would complicate reasoning about correctness, and pluggable state stores would complicate the number of test paths we'd have to cover. That being said, the boltdb dependency is pretty stale. I think the original complaint here about state store corruption isn't something we've seen in production any time recently. Consul also relies on the same library as well. |
This isn't something we plan on doing any time in the near future, so I'm going to close this out. As Tim mentioned, this would increase our number of test paths by a lot and make reasoning about state in Nomad a lot harder. While this is something that is technically possible (see Vault) since it adds a lot of complexity, we don't plan on it. Going to close this out and will reopen a new issue if this is ever something we consider in the future. |
I'm going to lock this issue because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active issues. |
I would like to ask for a new feature: pluggable storage. Similarly to what Vault already has:
It would great to add an option to configure different storage than bolt DB for Nomad (external KV, S3 or even SQL) because:
Motivation:
I have done a small analysis (if you would be interested in this feature we can drill down into details):
2d40f59
a2b15a5
In our projects, we are using SQL databases, Consul.
I could provide pull requests with KV stored:
a. https://github.com/dgraph-io/badger
b. in SQL table.
c. Consul
d. ...
The text was updated successfully, but these errors were encountered: