James Taylor created PHOENIX-2681:
-------------------------------------

             Summary: Avoid usage of HashSet<byte[]> in guideposts selection
                 Key: PHOENIX-2681
                 URL: https://issues.apache.org/jira/browse/PHOENIX-2681
             Project: Phoenix
          Issue Type: Bug
            Reporter: James Taylor


We use HashSet<byte[]> in our code to select which guideposts to use. It works 
because we luckily use the byte[] stored on the PTable consistently. It's 
possible that the array would be a different instance if the PTable was 
updated. In general, it's bad practice to use a HashSet with an array, so this 
updates that along with some other minor cleanup.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to