avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Doug Cutting (JIRA)" <j...@apache.org>
Subject [jira] Updated: (AVRO-722) IPC Request Metadata written for transmission before processing by plugins
Date Tue, 04 Jan 2011 21:52:46 GMT

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

Doug Cutting updated AVRO-722:
------------------------------

    Attachment: AVRO-722.patch

This works for me now with trace testing enabled.  Thanks!

Here's a new version of the patch that also re-enables trace testing.


> IPC Request Metadata written for transmission before processing by plugins
> --------------------------------------------------------------------------
>
>                 Key: AVRO-722
>                 URL: https://issues.apache.org/jira/browse/AVRO-722
>             Project: Avro
>          Issue Type: Bug
>          Components: java
>    Affects Versions: 1.5.0
>            Reporter: Stephen Gargan
>            Assignee: Stephen Gargan
>            Priority: Minor
>             Fix For: 1.5.0
>
>         Attachments: AVRO-722.patch, rpc-plugin.patch, rpc-plugin.patch
>
>
> There is a small issue with the processing  order of request metadata in an IPC call.
The map is written for transmission before the context is passed to plugins for processing
and as a result any changes that client plugins make to the metadata will not get transferred
as the empty map has already been written.
> Also when the response metadata is read back in it is mistakenly read into the context's
request metadata instead of the response metadata. The attached patch has fixes for both of
these issues.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message