MINOR: AbstractIndex.close should unmap#5757
Conversation
|
@lindong28 @junrao Is there a reason why we don't do this? |
|
@ijuma Thanks for fixing this. LGTM.
If I understand it right, it is still safe (with current Kafka implementation) not to close handler in close(). But it is more elegant and intuitive to call |
|
@lindong28, my claim is that |
|
@ijuma Yeah I certainly agree with your observation and the updated code is better. |
|
Thanks @lindong28. I'll wait for @junrao to confirm before merging. |
|
Merging to trunk and 2.1 branches. |
Reviewers: Dong Lin <lindong28@gmail.com>, Jun Rao <junrao@gmail.com>
…pache#5757) TICKET = LI_DESCRIPTION = proactive cherry-pick EXIT_CRITERIA = HASH [8d52b7e] ORIGINAL_DESCRIPTION = Reviewers: Dong Lin <lindong28@gmail.com>, Jun Rao <junrao@gmail.com> (cherry picked from commit 8d52b7e)
Reviewers: Dong Lin <lindong28@gmail.com>, Jun Rao <junrao@gmail.com>
Committer Checklist (excluded from commit message)