Skip to content
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

INTERNAL: Remove unnecessary lines in the version check of get API #335

Merged
merged 1 commit into from
Jan 9, 2025

Conversation

ing-eoking
Copy link
Collaborator

@ing-eoking ing-eoking commented Jan 9, 2025

πŸ”— Related Issue

  • jam2in/arcus-works#675

⌨️ What I did

  • mget/mgets 지원 μ—¬λΆ€λ₯Ό ν™•μΈν•˜λŠ” μ„œλ²„ 버전 검사 λ‘œμ§μ—μ„œ λΆˆν•„μš”ν•œ 뢀뢄을 μ œκ±°ν•©λ‹ˆλ‹€.

Copy link
Contributor

@jhpark816 jhpark816 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

리뷰 μ™„λ£Œ

@@ -56,49 +56,48 @@

static inline bool mget_command_is_supported(memcached_st *ptr, memcached_server_write_instance_st instance)
{
if (instance->major_version != UINT8_MAX && instance->minor_version != UINT8_MAX)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

쑰건을 λ°˜λŒ€λ‘œ ν•˜μ„Έμš”.

}
else
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

μ•„λž˜μ™€ 같이 κ΄„ν˜Έλ₯Ό μ œκ±°ν•©μ‹œλ‹€.

      /* >= 0.9.0-E */
      if (instance->major_version > 0 || (instance->major_version == 0 && instance->minor_version >= 9))
        return true;

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

μˆ˜μ •λ˜μ—ˆμŠ΅λ‹ˆλ‹€.

Copy link
Contributor

@jhpark816 jhpark816 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

리뷰 μ™„λ£Œ

@@ -56,50 +56,43 @@

static inline bool mget_command_is_supported(memcached_st *ptr, memcached_server_write_instance_st instance)
{
if (instance->major_version == UINT8_MAX && instance->minor_version == UINT8_MAX)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OR 쑰건 μ‚¬μš©

{
return true;
}
return true;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

μ—¬κΈ°λ§Œ κ³ μΉ˜μ§€ μ•ŠλŠ”κ΅°μš”.
μ΅œμ†Œν•œμ˜ μ„±μ˜κ°€ 보이지 μ•ŠμŠ΅λ‹ˆλ‹€.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

μˆ˜μ •λ˜μ—ˆμŠ΅λ‹ˆλ‹€.

@jhpark816 jhpark816 merged commit 46d063a into naver:develop Jan 9, 2025
1 check passed
@ing-eoking ing-eoking deleted the check branch January 9, 2025 08:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants