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: Allow user to access canceled reason of CollectionBulkInsertOperation. #631

Closed
wants to merge 1 commit into from

Conversation

uhm0311
Copy link
Collaborator

@uhm0311 uhm0311 commented Jun 27, 2023

#528

위 이슈 PR입니다.

@uhm0311 uhm0311 requested a review from jhpark816 June 27, 2023 01:56
@jhpark816 jhpark816 requested a review from brido4125 June 27, 2023 02:24
@jhpark816
Copy link
Collaborator

@brido4125 리뷰 바랍니다.

Copy link
Collaborator

@brido4125 brido4125 left a comment

Choose a reason for hiding this comment

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

리뷰완료

Copy link
Collaborator

@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.

리뷰 완료

@@ -144,6 +145,7 @@ public void initialize() {

@Override
protected void wasCancelled() {
((CollectionBulkInsertOperation.Callback) getCallback()).gotStatus(key, STORE_CANCELED);
Copy link
Collaborator

Choose a reason for hiding this comment

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

CollectionInsertOperationImpl 클래스가 아니라 CollectionBulkInsertOperation 구현체의 wasCancelled() 메소드를 수정해야 할 것 같습니다.
이러한 수정이 unit test에서 드러나게 할 방법이 있나요?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

다시 보니, 설계부터 잘못된 것 같습니다.
Close 하고 다른 PR로 올리도록 하겠습니다.

@uhm0311 uhm0311 closed this Jun 29, 2023
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