[jira] [Updated] (KAFKA-4728) KafkaConsumer#commitSync should clone its input

2017-02-06 Thread Jason Gustafson (JIRA)

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

Jason Gustafson updated KAFKA-4728:
---
Fix Version/s: (was: 0.10.2.0)
   0.10.3.0

> KafkaConsumer#commitSync should clone its input 
> 
>
> Key: KAFKA-4728
> URL: https://issues.apache.org/jira/browse/KAFKA-4728
> Project: Kafka
>  Issue Type: Bug
>Affects Versions: 0.10.1.1
>Reporter: Jan Lukavský
> Fix For: 0.10.3.0
>
> Attachments: KAFKA-4728.patch
>
>
> The `commitSync` method should clone input map to prevent live-lock in 
> situation when user code uses synchronization on the map. Cloning the map 
> prevents the consumer of the response to the `commitSync` request to block 
> (this might be different thread than the original issuer of the request).



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Updated] (KAFKA-4728) KafkaConsumer#commitSync should clone its input

2017-02-06 Thread Jason Gustafson (JIRA)

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

Jason Gustafson updated KAFKA-4728:
---
   Resolution: Fixed
Fix Version/s: 0.10.2.0
   Status: Resolved  (was: Patch Available)

Issue resolved by pull request 2491
[https://github.com/apache/kafka/pull/2491]

> KafkaConsumer#commitSync should clone its input 
> 
>
> Key: KAFKA-4728
> URL: https://issues.apache.org/jira/browse/KAFKA-4728
> Project: Kafka
>  Issue Type: Bug
>Affects Versions: 0.10.1.1
>Reporter: Jan Lukavský
> Fix For: 0.10.2.0
>
> Attachments: KAFKA-4728.patch
>
>
> The `commitSync` method should clone input map to prevent live-lock in 
> situation when user code uses synchronization on the map. Cloning the map 
> prevents the consumer of the response to the `commitSync` request to block 
> (this might be different thread than the original issuer of the request).



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Updated] (KAFKA-4728) KafkaConsumer#commitSync should clone its input

2017-02-03 Thread JIRA

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

Jan Lukavský updated KAFKA-4728:

Status: Patch Available  (was: Open)

Patch available for this issue.

> KafkaConsumer#commitSync should clone its input 
> 
>
> Key: KAFKA-4728
> URL: https://issues.apache.org/jira/browse/KAFKA-4728
> Project: Kafka
>  Issue Type: Bug
>Affects Versions: 0.10.1.1
>Reporter: Jan Lukavský
> Attachments: KAFKA-4728.patch
>
>
> The `commitSync` method should clone input map to prevent live-lock in 
> situation when user code uses synchronization on the map. Cloning the map 
> prevents the consumer of the response to the `commitSync` request to block 
> (this might be different thread than the original issuer of the request).



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Updated] (KAFKA-4728) KafkaConsumer#commitSync should clone its input

2017-02-03 Thread JIRA

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

Jan Lukavský updated KAFKA-4728:

Attachment: KAFKA-4728.patch

Attaching patch for this.

> KafkaConsumer#commitSync should clone its input 
> 
>
> Key: KAFKA-4728
> URL: https://issues.apache.org/jira/browse/KAFKA-4728
> Project: Kafka
>  Issue Type: Bug
>Affects Versions: 0.10.1.1
>Reporter: Jan Lukavský
> Attachments: KAFKA-4728.patch
>
>
> The `commitSync` method should clone input map to prevent live-lock in 
> situation when user code uses synchronization on the map. Cloning the map 
> prevents the consumer of the response to the `commitSync` request to block 
> (this might be different thread than the original issuer of the request).



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)