[Java] AllocationListener should be called during ownership transferring
- Ngôn ngữ chính
- Java
- Star
- 94
- Fork
- 152
- Merge trung bình
- 3 ngày 16 giờ
- Pull request đã merge (30 ngày)
- 11
Mô tả
If we transfer balance of buffer1 from allocator1 to allocator2, onRelease() should be called from allocator1.listener as well as the case that buffer1 is closed without transferring.
**Reporter**: [Hongze Zhang](https://issues.apache.org/jira/browse/ARROW-14923) / @zhztheplayer
#### PRs and other links:
- [GitHub Pull Request apache/arrow#11800](https://github.com/apache/arrow/pull/11800)
**Note**: *This issue was originally created as [ARROW-14923](https://issues.apache.org/jira/browse/ARROW-14923). Please see the [migration documentation](https://github.com/apache/arrow/issues/14542) for further details.*
Hướng dẫn đóng góp
Hướng nghiên cứu
Xem xét việc triển khai cấp phát và chuyển quyền sở hữu, sau đó kiểm tra PR #11800 để xem phần việc hiện có. Được xem là hoàn tất khi allocator1.listener nhận onRelease() lúc quyền sở hữu buffer1 được chuyển sang allocator2, như hiện đã xảy ra khi buffer1 được đóng mà không chuyển quyền.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- java
- Lĩnh vực
- backend
- Loại issue
- Lỗi
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 25/100