You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "HeLifu (JIRA)" <ji...@apache.org> on 2017/12/18 02:08:00 UTC
[jira] [Closed] (IMPALA-6327) maybe there is a mistake in
blocking-queue.h
[ https://issues.apache.org/jira/browse/IMPALA-6327?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
HeLifu closed IMPALA-6327.
--------------------------
Resolution: Not A Bug
sorry for my big mistake.
> maybe there is a mistake in blocking-queue.h
> --------------------------------------------
>
> Key: IMPALA-6327
> URL: https://issues.apache.org/jira/browse/IMPALA-6327
> Project: IMPALA
> Issue Type: Bug
> Components: Backend
> Affects Versions: Impala 2.9.0
> Reporter: HeLifu
> Assignee: Michael Ho
>
> hi,
> i suspect that the function 'BlockingPutWithTimeout' in blocking-queue.h is unsafe, because the 'put_lock_' should be re-acquired when 'notified' is false (which means timeout or any other errors) after 'TimeWait'. But the next 'SizeLocked' hides this mistake. am i right?
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)