You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Jens Deppe (Jira)" <ji...@apache.org> on 2020/09/25 14:31:00 UTC

[jira] [Resolved] (GEODE-8498) Redis messages written to Netty channel sometimes delivered out of order

     [ https://issues.apache.org/jira/browse/GEODE-8498?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jens Deppe resolved GEODE-8498.
-------------------------------
    Fix Version/s: 1.14.0
       Resolution: Fixed

> Redis 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
>            Assignee: Sarah Abbey
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: 1.14.0
>
>
> {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)