Bug 1077127 - Protobuf marshalling on Indexed server caches interferes with keySet and bulk marshalling
Summary: Protobuf marshalling on Indexed server caches interferes with keySet and bulk...
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: JBoss Data Grid 6
Classification: JBoss
Component: Infinispan
Version: 6.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: CR2
: 6.2.1
Assignee: Tristan Tarrant
QA Contact: Martin Gencur
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-03-17 09:59 UTC by Adrian Nistor
Modified: 2025-02-10 03:35 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2025-02-10 03:35:23 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker ISPN-3976 0 Major Resolved Protobuf marshalling on Indexed server caches interferes with keySet and bulk marshalling 2018-09-03 03:33:55 UTC

Description Adrian Nistor 2014-03-17 09:59:12 UTC
The method keySet() of remote client fails (hangs until transport times out) on distributed caches with indexing. This is due to a ClassCastException in the map-reduce task that collects the keys accross the cluster. The task expects the cached value to by byte[], which is not the case if protobuf marshalling is used (because the byte[] value is wrapped by ProtobufValueWrapper). The value is never used by the task, so avoiding the unnecessary casting also avoids this issue.

Comment 2 Adrian Nistor 2014-03-17 11:33:52 UTC
PR available: https://github.com/infinispan/jdg/pull/50

Comment 3 Adrian Nistor 2014-03-18 16:54:42 UTC
Closed initial PR and re-opened here https://github.com/infinispan/jdg/pull/51

Comment 4 Mircea Markus 2014-03-18 18:43:11 UTC
PR integrated, thanks Adrian!

Comment 7 Red Hat Bugzilla 2025-02-10 03:35:23 UTC
This product has been discontinued or is no longer tracked in Red Hat Bugzilla.


Note You need to log in before you can comment on or make changes to this bug.