-
Notifications
You must be signed in to change notification settings - Fork 16
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: Add multi-storage operations. #305
Conversation
4cd9314
to
8d4551a
Compare
@uhm0311 CI ํ ์คํธ ํ์ธํ์ธ์. |
8d4551a
to
e8e028f
Compare
๋ฆฌ๋ทฐ ์์ํด์ฃผ์ธ์. |
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.
๋ฆฌ๋ทฐ ์๋ฃ
test_success= false; | ||
goto do_return; | ||
} | ||
else if (is_noreply == true) |
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.
is_noreply ์ฌ๋ถ์ ๊ด๊ณ์์ด ์๋์ madd ์ฌ์ํํ์ฌ ์คํจํ๋ ์ง๋ฅผ ํ์ธํ๋ฉด ๋์ง ์๋์ง ?
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.
noreply == true์ธ ๊ฒฝ์ฐ์๋ NOT_STORED๋ผ๋ ์๋ต์ ๋ฐ์ ์ ์๋๋ฐ ๋ฌด์์ ๊ฒ์ฆํด์ผ ํ๋์?
goto do_return; | ||
} | ||
|
||
if (is_noreply == false) |
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.
์ฌ๊ธฐ๋ is_noreply ๊ด๊ณ์์ด mreplace ์ํ์ด ์คํจํ๋ ๊ฒ์ ํ์ธํ๋ฉด ๋์ง ์๋์ง?
๋ค๋ฅธ ํ ์คํธ์์๋ ๋ง์ฐฌ๊ฐ์ง์ ๋๋ค.
@@ -78,19 +79,24 @@ static bool create_req(memcached_storage_request_st req[REQ_COUNT], bool value_p | |||
|
|||
req[i].expiration= EXPIRE_TIME; | |||
req[i].flags= (uint32_t) rand(); | |||
req[i].cas= UINT64_MAX; |
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.
2๊ฐ์ง ์ด์ ์ ๋๋ค.
- mcas๊ฐ ์๋ ๊ฒฝ์ฐ, cas ๊ฐ์ด ์ค์ ๋์ด ์์ด๋ ๋ฌด์๋๋ ๊ฒ์ ๊ฒ์ฆ
- mcas์ธ ๊ฒฝ์ฐ, cas ๊ฐ์ด ์๋ฒ์ ์ ์ฅ๋ ๊ฐ๊ณผ ๋ค๋ฅผ ๋ EXISTS ์๋ต์ด ์ค๋ ๊ฒ์ ๊ฒ์ฆ
e8e028f
to
f86fa72
Compare
f86fa72
to
e32f0a0
Compare
๐ Related Issue
โจ๏ธ What I did