[
https://issues.apache.org/jira/browse/GEODE-8498?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sarah Abbey updated GEODE-8498:
-------------------------------
Description:
{code:java}
[err]: Mix SUBSCRIBE and PSUBSCRIBE in tests/unit/pubsub.tcl
Expected 'pmessage foo.* foo.bar hello' to be equal to 'message foo.bar hello'
*** [err]: Mix SUBSCRIBE and PSUBSCRIBE in tests/unit/pubsub.tcl
Expected 'pmessage foo.* foo.bar hello' to be equal to 'message foo.bar hello'
{code}
When writing responses to a Netty channel, the messages may get written out of
order in the `writeAndFlush` call. To verify this bug, we used a single thread
to call `writeAndFlush` and added logging right before calling `writeAndFlush`
and after `afterWrite` in the callback listener. We saw the messages get
logged in the proper order before `writeAndFlush` was called, but the messages
were logged out of order in the callback listener and arrived in the wrong
order on the client.
was:
{code:java}
[err]: Mix SUBSCRIBE and PSUBSCRIBE in tests/unit/pubsub.tcl
Expected 'pmessage foo.* foo.bar hello' to be equal to 'message foo.bar hello'
*** [err]: Mix SUBSCRIBE and PSUBSCRIBE in tests/unit/pubsub.tcl
Expected 'pmessage foo.* foo.bar hello' to be equal to 'message foo.bar hello'
Cleanup: may take some time... OK
{code}
When writing responses to a Netty channel, the messages may get written out of
order in the `writeAndFlush` call. To verify this bug, we used a single thread
to call `writeAndFlush` and added logging right before calling `writeAndFlush`
and after `afterWrite` in the callback listener. We saw the messages get
logged in the proper order before `writeAndFlush` was called, but the messages
were logged out of order in the callback listener and arrived in the wrong
order on the client.
> Messages written to Netty channel sometimes delivered out of order
> ------------------------------------------------------------------
>
> Key: GEODE-8498
> URL: https://issues.apache.org/jira/browse/GEODE-8498
> Project: Geode
> Issue Type: Bug
> Components: redis
> Reporter: Sarah Abbey
> Priority: Major
>
> {code:java}
> [err]: Mix SUBSCRIBE and PSUBSCRIBE in tests/unit/pubsub.tcl
> Expected 'pmessage foo.* foo.bar hello' to be equal to 'message foo.bar hello'
> *** [err]: Mix SUBSCRIBE and PSUBSCRIBE in tests/unit/pubsub.tcl
> Expected 'pmessage foo.* foo.bar hello' to be equal to 'message foo.bar hello'
> {code}
> When writing responses to a Netty channel, the messages may get written out
> of order in the `writeAndFlush` call. To verify this bug, we used a single
> thread to call `writeAndFlush` and added logging right before calling
> `writeAndFlush` and after `afterWrite` in the callback listener. We saw the
> messages get logged in the proper order before `writeAndFlush` was called,
> but the messages were logged out of order in the callback listener and
> arrived in the wrong order on the client.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)