-
Notifications
You must be signed in to change notification settings - Fork 22
KVS new Design #172
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
base: main
Are you sure you want to change the base?
KVS new Design #172
Conversation
License Check Results🚀 The license check job ran with the Bazel command: bazel run //:license-checkStatus: Click to expand output |
|
The created documentation from the pull request is available at: docu-html |
Design/Design_puml.puml
Outdated
|
|
||
| class IKvsBuilder <<implementation>> { | ||
| - instance_id: InstanceId | ||
| - need_defaults : bool |
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.
-> -defaults : KvsDefaults
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.
?
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.
Expected values :
- true : default storage must be exist
- false : default storage may not be exist
- Ignores : ignore default values even if we have default values storage.
- new ticket should be created to make c++ support this as rust.
Design/Design_puml.puml
Outdated
| class IKvsBuilder <<implementation>> { | ||
| - instance_id: InstanceId | ||
| - need_defaults : bool | ||
| - need_kvs : bool |
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.
-> -kvs_load : KvsLoad
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.
kvs_load = OpenNeedKvs :
OpenNeedKvs has two values now :
new value will be added "IGNORE"
new ticket should be created to make c++ support this as rust.
Design/Design_puml.puml
Outdated
| + set_value(Key:string, value:KvsValue): ResultBlank | ||
| + remove_key(Key:string) : ResultBlank | ||
| + flush() : ResultBlank | ||
| + snapshot_count: Result<size_t> |
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.
This is a function.
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.
@arkjedrz what is meant by this if a function ?
Design/Design_puml.puml
Outdated
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.
Regarding names - please align with https://github.com/qorix-group/persistency/blob/e3945d4bea1bb3627dd46835db403b0c460306d1/docs/class_diagram.puml
Design/Design_puml.puml
Outdated
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.
Seems like this file is not included in any index file
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.
?
- class diagram represent new design of score kvs.
New Design for KVS