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

    https://github.com/apache/incubator-hawq/pull/1278#discussion_r132620396
  
    --- Diff: src/backend/storage/file/fd.c ---
    @@ -2403,8 +2479,22 @@ HdfsGetConnection(const char * path)
                    }
                }
     
    -           entry = (struct FsEntry *) hash_search(HdfsFsTable, location,
    -                           HASH_ENTER, &found);
    +           /* If this is for normal connection, check from normal table, 
otherwise,
    +            * check the table for dropping. */
    +           if (!isForDrop) {
    +                   entry = (struct FsEntry *) hash_search(HdfsFsTable,
    +                                                                           
                   location,
    +                                                                           
                   HASH_ENTER,
    +                                                                           
                   &found);
    +           }
    +           else
    +           {
    +                   elog(LOG, "search 4 drop 1");
    --- End diff --
    
    Is it a necessary log or better to be changed more meaningful?


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to