[Java] AllocationListener should be called during ownership transferring
- 主要語言
- Java
- 星號
- 94
- 分支
- 152
- 平均合併
- 3 天 16 小時
- 30 天內合併 PR
- 11
描述
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.*
貢獻指南
研究方向
檢查配置與所有權轉移的實作,然後查看 PR #11800 了解現有的工作。當 buffer1 的所有權轉移至 allocator2 時 allocator1.listener 收到 onRelease(),就算完成;在 buffer1 關閉但未轉移所有權時,目前已經會發生這種情況。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- java
- 領域
- backend
- Issue 類型
- 缺陷
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 25/100