You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Mike Machado (JIRA)" <ji...@apache.org> on 2011/03/24 20:04:05 UTC
[jira] [Commented] (FELIX-2406) LogListeners do not receive
messages in order
[ https://issues.apache.org/jira/browse/FELIX-2406?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13010847#comment-13010847 ]
Mike Machado commented on FELIX-2406:
-------------------------------------
I too have seen this problem. It looks like the author assumed using add() and pop() from a Stack would use opposite ends of the Vector, but this is not the case.
I attached a patch to use a raw Vector instead and explicitly remove entries from the front of the Vector when delivering entries to the listeners. I have verified this fixed the log ordering issue, in my environment at least.
What are the chances we can get a new release of felix-log with this change applied?
> LogListeners do not receive messages in order
> ---------------------------------------------
>
> Key: FELIX-2406
> URL: https://issues.apache.org/jira/browse/FELIX-2406
> Project: Felix
> Issue Type: Bug
> Components: Log Service
> Environment: log 1.0.0
> Reporter: Alan Cabrera
> Attachments: felix_logger.patch
>
>
> LogListeners do not receive messages in order. They receive all messages sent but the messages are not in order.
> You can see a sample test in http://github.com/maguro/papoose-log
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira