You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@servicecomb.apache.org by "Lei Zhang (JIRA)" <ji...@apache.org> on 2019/08/07 02:04:00 UTC
[jira] [Resolved] (SCB-1423) Non-thread-safe method size of
ConcurrentLinkedQueue in AlphaIntegrationTest
[ https://issues.apache.org/jira/browse/SCB-1423?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lei Zhang resolved SCB-1423.
----------------------------
Resolution: Fixed
> Non-thread-safe method size of ConcurrentLinkedQueue in AlphaIntegrationTest
> ----------------------------------------------------------------------------
>
> Key: SCB-1423
> URL: https://issues.apache.org/jira/browse/SCB-1423
> Project: Apache ServiceComb
> Issue Type: Test
> Components: Saga
> Reporter: Lei Zhang
> Assignee: Lei Zhang
> Priority: Major
> Fix For: pack-0.5.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> Beware that, unlike in most collections, the size method is NOT a constant-time operation. Because of the asynchronous nature of these queues, determining the current number of elements requires a traversal of the elements.
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)