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

FIX: Invalid isTimeout value when creating BulkGetFuture with another object. #717

Merged
merged 1 commit into from
Jan 24, 2024

Conversation

brido4125
Copy link
Collaborator

@brido4125 brido4125 commented Jan 23, 2024

요구사항

FrontCacheBulkGetFuture 타입을 리턴받은 응용이
부모 클래스의 메서드인 isTimeout()을 호출할 경우
정확한 값을 리턴하지 않는 문제가 있다.

AtomicBoolean을 이용해서
copy의 대상이 되는 BulkGetFutureisTimeout 값을
새로 생성될 FrontCacheBulkGetFuture에서 isTimeout()
호출할 때 사용하도록 한다.

호출되는 값의 결과가 연산 완료 전/후에 따라 변경되기에
AtomicBoolean을 사용하였다.

@brido4125 brido4125 self-assigned this Jan 23, 2024
@brido4125 brido4125 requested a review from uhm0311 January 24, 2024 00:06
@jhpark816
Copy link
Collaborator

@brido4125
commit message 변경합시다.

FIX: Invalid isTimeout value when creating BulkGetFuture with another object.

@brido4125 brido4125 force-pushed the fix/frontBulkFuture branch from 6ad0f31 to 4fa63da Compare January 24, 2024 03:52
@brido4125 brido4125 changed the title FIX: Invalid isTimeout value when invoking isTimeout(). FIX: Invalid isTimeout value when creating BulkGetFuture with another object. Jan 24, 2024
@jhpark816 jhpark816 merged commit f080ec4 into naver:develop Jan 24, 2024
1 check 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