You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Knut Anders Hatlen (JIRA)" <de...@db.apache.org> on 2006/08/15 16:23:14 UTC

[jira] Closed: (DERBY-1688) ConsistencyToken.hashCode() is not thread safe

     [ http://issues.apache.org/jira/browse/DERBY-1688?page=all ]

Knut Anders Hatlen closed DERBY-1688.
-------------------------------------

    Fix Version/s: 10.2.0.0
       Resolution: Fixed

Thanks Dag! I added comments and committed revision 431603.

> ConsistencyToken.hashCode() is not thread safe
> ----------------------------------------------
>
>                 Key: DERBY-1688
>                 URL: http://issues.apache.org/jira/browse/DERBY-1688
>             Project: Derby
>          Issue Type: Bug
>          Components: Network Server
>    Affects Versions: 10.2.0.0, 10.2.2.0, 10.3.0.0
>            Reporter: Knut Anders Hatlen
>         Assigned To: Knut Anders Hatlen
>            Priority: Minor
>             Fix For: 10.2.0.0
>
>         Attachments: derby-1688.diff, derby-1688.stat
>
>
> If ConsistencyToken.hashCode() is run concurrently by different threads, some of the threads may see a partial result instead of the correct hash code. This is not a problem in the current code since all calls to that method are synchronized on a higher level, but it would be good to fix in case the method will be used differently in the future.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira