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/15 09:57:02 UTC

[jira] [Created] (IMPALA-6327) maybe there is a mistake in blocking-queue.h

HeLifu created IMPALA-6327:
------------------------------

             Summary: 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


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)