-
Notifications
You must be signed in to change notification settings - Fork 6
Add HeadObjectRequest for HeadObjectRpc #24
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
Conversation
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.
LGTM with nits
src/schema/frugalos.rs
Outdated
pub expect: Expect, | ||
pub consistency: Option<ReadConsistency>, | ||
/// ストレージ側にも問い合わせるかどうか | ||
pub storage: 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.
nit: check_storage みたいな名前にすると分かりやすくなりそうな気がします
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.
ですかね、変更します
src/client/frugalos.rs
Outdated
bucket_id, | ||
object_id, | ||
deadline, | ||
expect, | ||
consistency: Some(consistency), | ||
consistency: consistency, |
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.
consistency: consistency, | |
consistency, |
77c2a45
to
d2ca87b
Compare
概要
frugalos の HEAD リクエストでは mds までしか問い合わせが行われないが、storage 側にも存在確認を要求するための変更
変更点
struct HeadObjectRequest
の追加ObjectRequest
からHeadObjectRequest
に変更