[ 
https://issues.apache.org/jira/browse/BEAM-13736?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Robert Burke reassigned BEAM-13736:
-----------------------------------

    Assignee: Robert Burke

> [Go SDK] Fix hash collision risk in Combiner Lifting cache
> ----------------------------------------------------------
>
>                 Key: BEAM-13736
>                 URL: https://issues.apache.org/jira/browse/BEAM-13736
>             Project: Beam
>          Issue Type: Improvement
>          Components: sdk-go
>            Reporter: Robert Burke
>            Assignee: Robert Burke
>            Priority: P2
>          Time Spent: 1h 20m
>  Remaining Estimate: 0h
>
> Relying only on a hash is brittle for map implementations, and can lead to 
> correctness issues when keys collide.
> While the Go SDK implementation is leaning on the Go map, we need to rely on 
> byte equality so we need to fend for ourselves a bit, and handle overflow 
> buckets and the like.
> We won't go so far as to do a rehash or similar balancing techniques as it's 
> not clear that between the caches' size constraint, and the evenness of the 
> hash function that they are all that likely.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to