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/06 11:39:00 UTC
[jira] [Created] (SCB-1423) Non-thread-safe method size of
ConcurrentLinkedQueue in AlphaIntegrationTest
Lei Zhang created SCB-1423:
------------------------------
Summary: 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
Fix For: pack-0.5.0
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)