Skip to content

FEATURE: Add CompletableFuture gets and CAS API#1055

Merged
jhpark816 merged 1 commit intonaver:developfrom
f1v3-dev:feat/v2-gets-cas
Mar 11, 2026
Merged

FEATURE: Add CompletableFuture gets and CAS API#1055
jhpark816 merged 1 commit intonaver:developfrom
f1v3-dev:feat/v2-gets-cas

Conversation

@f1v3-dev
Copy link
Collaborator

@f1v3-dev f1v3-dev commented Mar 6, 2026

🔗 Related Issue

⌨️ What I did

  • gets, CAS API 구현을 진행했습니다.
    • CAS 연산을 진행할 때 필요한 CAS ID 정보를 얻어오기 위해 같이 작업을 진행했습니다.

@f1v3-dev f1v3-dev requested a review from oliviarla March 6, 2026 09:44
@f1v3-dev f1v3-dev self-assigned this Mar 6, 2026
@oliviarla
Copy link
Collaborator

oliviarla commented Mar 9, 2026

rebase 및 이전 PR에서의 리뷰 사항들을 반영해주세요. multiStore PR도 마찬가지로 수정이 필요합니다.

@f1v3-dev
Copy link
Collaborator Author

rebase 및 이전 PR에서의 리뷰 사항들을 반영해주세요. multiStore PR도 마찬가지로 수정이 필요합니다.

반영하였습니다.

Copy link
Collaborator

@oliviarla oliviarla left a comment

Choose a reason for hiding this comment

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

cas 실패하는 테스트도 있으면 좋겠습니다.

  • not found
  • exists

switch (code) {
case SUCCESS:
result.set(true);
return;
Copy link
Collaborator

Choose a reason for hiding this comment

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

switch 문 이후로 따로 실행되는 코드가 없어서, return 대신 break 처리하면 될 것 같습니다.
나머지 case들도 확인해주세요!

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

switch-case문 수정하였습니다.

@oliviarla oliviarla requested a review from jhpark816 March 11, 2026 07:15
@jhpark816 jhpark816 merged commit 4333153 into naver:develop Mar 11, 2026
2 checks passed
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.

3 participants