You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bookkeeper.apache.org by "Sijie Guo (Created) (JIRA)" <ji...@apache.org> on 2011/10/14 09:52:12 UTC

[jira] [Created] (BOOKKEEPER-80) subscription msg queue race condition in hedwig c++ client

subscription msg queue race condition in hedwig c++ client
----------------------------------------------------------

                 Key: BOOKKEEPER-80
                 URL: https://issues.apache.org/jira/browse/BOOKKEEPER-80
             Project: Bookkeeper
          Issue Type: Bug
          Components: hedwig-client
    Affects Versions: 3.4.0
            Reporter: Sijie Guo
            Assignee: Sijie Guo




--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (BOOKKEEPER-80) subscription msg queue race condition in hedwig c++ client

Posted by "Sijie Guo (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/BOOKKEEPER-80?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sijie Guo updated BOOKKEEPER-80:
--------------------------------

    Attachment: bookkeeper-80.patch

synchronized on message queue to ensure order.
                
> subscription msg queue race condition in hedwig c++ client
> ----------------------------------------------------------
>
>                 Key: BOOKKEEPER-80
>                 URL: https://issues.apache.org/jira/browse/BOOKKEEPER-80
>             Project: Bookkeeper
>          Issue Type: Bug
>          Components: hedwig-client
>    Affects Versions: 3.4.0
>            Reporter: Sijie Guo
>            Assignee: Sijie Guo
>         Attachments: bookkeeper-80.patch
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (BOOKKEEPER-80) subscription msg queue race condition in hedwig c++ client

Posted by "Ivan Kelly (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/BOOKKEEPER-80?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13130661#comment-13130661 ] 

Ivan Kelly commented on BOOKKEEPER-80:
--------------------------------------

Do you have a test which reproduces the issue? It would be good to get it into the unit tests. Otherwise, the change looks good to me.

                
> subscription msg queue race condition in hedwig c++ client
> ----------------------------------------------------------
>
>                 Key: BOOKKEEPER-80
>                 URL: https://issues.apache.org/jira/browse/BOOKKEEPER-80
>             Project: Bookkeeper
>          Issue Type: Bug
>          Components: hedwig-client
>    Affects Versions: 3.4.0
>            Reporter: Sijie Guo
>            Assignee: Sijie Guo
>         Attachments: bookkeeper-80.patch
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (BOOKKEEPER-80) subscription msg queue race condition in hedwig c++ client

Posted by "Ivan Kelly (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/BOOKKEEPER-80?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13146447#comment-13146447 ] 

Ivan Kelly commented on BOOKKEEPER-80:
--------------------------------------

Looks good! +1 Committing
                
> subscription msg queue race condition in hedwig c++ client
> ----------------------------------------------------------
>
>                 Key: BOOKKEEPER-80
>                 URL: https://issues.apache.org/jira/browse/BOOKKEEPER-80
>             Project: Bookkeeper
>          Issue Type: Bug
>          Components: hedwig-client
>    Affects Versions: 3.4.0
>            Reporter: Sijie Guo
>            Assignee: Sijie Guo
>             Fix For: 4.0.0
>
>         Attachments: BOOKKEEPER-80.patch_v2, bookkeeper-80.patch
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (BOOKKEEPER-80) subscription msg queue race condition in hedwig c++ client

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/BOOKKEEPER-80?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13146456#comment-13146456 ] 

Hudson commented on BOOKKEEPER-80:
----------------------------------

Integrated in bookkeeper-trunk #208 (See [https://builds.apache.org/job/bookkeeper-trunk/208/])
    BOOKKEEPER-80: subscription msg queue race condition in hedwig c++ client (Sijie Guo via ivank)

ivank : 
Files : 
* /zookeeper/bookkeeper/trunk/CHANGES.txt
* /zookeeper/bookkeeper/trunk/hedwig-client/src/main/cpp/lib/subscriberimpl.cpp
* /zookeeper/bookkeeper/trunk/hedwig-client/src/main/cpp/lib/subscriberimpl.h
* /zookeeper/bookkeeper/trunk/hedwig-client/src/main/cpp/test/pubsubtest.cpp
* /zookeeper/bookkeeper/trunk/hedwig-client/src/main/cpp/test/util.h

                
> subscription msg queue race condition in hedwig c++ client
> ----------------------------------------------------------
>
>                 Key: BOOKKEEPER-80
>                 URL: https://issues.apache.org/jira/browse/BOOKKEEPER-80
>             Project: Bookkeeper
>          Issue Type: Bug
>          Components: hedwig-client
>    Affects Versions: 3.4.0
>            Reporter: Sijie Guo
>            Assignee: Sijie Guo
>             Fix For: 4.0.0
>
>         Attachments: BOOKKEEPER-80.patch_v2, bookkeeper-80.patch
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (BOOKKEEPER-80) subscription msg queue race condition in hedwig c++ client

Posted by "Sijie Guo (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/BOOKKEEPER-80?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sijie Guo updated BOOKKEEPER-80:
--------------------------------

    Attachment: BOOKKEEPER-80.patch_v2

attach a new patch, also add a test case to reproduce race condition issue.
                
> subscription msg queue race condition in hedwig c++ client
> ----------------------------------------------------------
>
>                 Key: BOOKKEEPER-80
>                 URL: https://issues.apache.org/jira/browse/BOOKKEEPER-80
>             Project: Bookkeeper
>          Issue Type: Bug
>          Components: hedwig-client
>    Affects Versions: 3.4.0
>            Reporter: Sijie Guo
>            Assignee: Sijie Guo
>             Fix For: 4.0.0
>
>         Attachments: BOOKKEEPER-80.patch_v2, bookkeeper-80.patch
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira