Github user jinossy commented on a diff in the pull request:

    https://github.com/apache/tajo/pull/884#discussion_r47457708
  
    --- Diff: 
tajo-storage/tajo-storage-hdfs/src/main/java/org/apache/tajo/storage/index/bst/BSTIndex.java
 ---
    @@ -488,6 +497,18 @@ public BSTIndexReader(final Path fileName) throws 
IOException {
           open();
         }
     
    +    public void hold() {
    +      REFERENCE_UPDATER.compareAndSet(this, referenceNum, referenceNum + 
1);
    +    }
    +
    +    public void release() {
    --- End diff --
    
    It seems to need the closing after release. if you add the description, it 
will be better


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to