-
Notifications
You must be signed in to change notification settings - Fork 159
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
feat(BA-648): Create KVS Interface #3645
Conversation
changes/3636.feature.md
Outdated
@@ -0,0 +1 @@ | |||
Create KVS Interface |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We are currently using towncrier based on the PR number.
Filename should be 3645.feature.md
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oh oops gotcha thank you!!
src/ai/backend/common/etcd.py
Outdated
ready_event: Optional[CondVar] = None, | ||
cleanup_event: Optional[CondVar] = None, | ||
wait_timeout: Optional[float] = None, | ||
) -> AsyncGenerator[Union["QueueSentinel", "Event"], None]: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please do not use the class as a string.
resolves #3636 (BA-648)
This PR creates an interface for the Key-Value Store (KVS) that is being used. It is foundational work to implement Raftify's KVS in the future.
This does not affect how
AsyncEtcd
is being used in any way; none of theAsyncEtcd
functions were changed.Checklist: (if applicable)
docs
directory