hadoop-pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chad Whipkey (JIRA)" <j...@apache.org>
Subject [jira] Updated: (PIG-234) fix synchronization around staleCount in DataCollector
Date Wed, 07 May 2008 21:11:56 GMT

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

Chad Whipkey updated PIG-234:
-----------------------------

    Attachment: Change_synchronization_on_DataCollector.patch

Please code review.  This is my first patch ever so let me know if I should do things differently.

> fix synchronization around staleCount in DataCollector
> ------------------------------------------------------
>
>                 Key: PIG-234
>                 URL: https://issues.apache.org/jira/browse/PIG-234
>             Project: Pig
>          Issue Type: Bug
>          Components: impl
>            Reporter: Chad Whipkey
>            Priority: Minor
>         Attachments: Change_synchronization_on_DataCollector.patch
>
>
> DataCollector uses synchronized statements on staleCount, but the staleCount reference
changes!  I'm proposing it switch to use the concurrent package Lock and condition to manage
staleness.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message