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 duplicated pipe max item count vars. #871

Merged
merged 1 commit into from
Jan 13, 2025

Conversation

brido4125
Copy link
Collaborator

@brido4125 brido4125 commented Jan 13, 2025

🔗 Related Issue

https://github.com/jam2in/arcus-works/issues/654

⌨️ What I did

SetPipedExist,CollectionPipedUpdate,CollectionPipedInsert 에
존재하는 중복되는 pipeCount 변수 제거 후 이를 ArcusClient의 변수로 추가

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.

리뷰 완료

insertList.add(new BTreePipedInsert<>(key, elements, attributesForCreate, tc));
} else {
PartitionedMap<Long, T> list = new PartitionedMap<>(
elements, CollectionPipedInsert.MAX_PIPED_ITEM_COUNT);
elements, MAX_PIPED_ITEM_COUNT);
Copy link
Collaborator

Choose a reason for hiding this comment

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

여기도 다른 수정과 동일하게 1 line으로 하시죠.

insertList.add(new ByteArraysBTreePipedInsert<>(key, elements, attributesForCreate, tc));
} else {
PartitionedList<Element<T>> list = new PartitionedList<>(
elements, CollectionPipedInsert.MAX_PIPED_ITEM_COUNT);
elements, MAX_PIPED_ITEM_COUNT);
Copy link
Collaborator

Choose a reason for hiding this comment

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

여기도 다른 수정과 동일하게 1 line으로 하시죠.

updateList.add(new BTreePipedUpdate<>(key, elements, tc));
} else {
PartitionedList<Element<T>> list = new PartitionedList<>(
elements, CollectionPipedUpdate.MAX_PIPED_ITEM_COUNT);
elements, MAX_PIPED_ITEM_COUNT);
Copy link
Collaborator

Choose a reason for hiding this comment

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

여기도 다른 수정과 동일하게 1 line으로 하시죠.

updateList.add(new MapPipedUpdate<>(key, elements, tc));
} else {
PartitionedMap<String, T> list = new PartitionedMap<>(
elements, CollectionPipedUpdate.MAX_PIPED_ITEM_COUNT);
elements, MAX_PIPED_ITEM_COUNT);
Copy link
Collaborator

Choose a reason for hiding this comment

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

여기도 다른 수정과 동일하게 1 line으로 하시죠.

@jhpark816 jhpark816 merged commit 99a2dda into naver:develop Jan 13, 2025
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.

2 participants