This is an automated email from the ASF dual-hosted git repository.
sijie pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-pulsar.git
The following commit(s) were added to refs/heads/master by this push:
new 4e7748b Minor code cleanup in JavaInstanceRunnable (#1840)
4e7748b is described below
commit 4e7748b6f320cde28da0cf34b00ed89955b46bfe
Author: Boyang Jerry Peng <[email protected]>
AuthorDate: Wed May 23 21:47:29 2018 -0700
Minor code cleanup in JavaInstanceRunnable (#1840)
---
.../java/org/apache/pulsar/functions/instance/JavaInstanceRunnable.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/pulsar-functions/instance/src/main/java/org/apache/pulsar/functions/instance/JavaInstanceRunnable.java
b/pulsar-functions/instance/src/main/java/org/apache/pulsar/functions/instance/JavaInstanceRunnable.java
index a96c703..28e91f3 100644
---
a/pulsar-functions/instance/src/main/java/org/apache/pulsar/functions/instance/JavaInstanceRunnable.java
+++
b/pulsar-functions/instance/src/main/java/org/apache/pulsar/functions/instance/JavaInstanceRunnable.java
@@ -294,7 +294,7 @@ public class JavaInstanceRunnable implements AutoCloseable,
Runnable {
if (result.getUserException() != null) {
log.info("Encountered user exception when processing message {}",
srcRecord, result.getUserException());
stats.incrementUserExceptions(result.getUserException());
- this.currentRecord.fail();
+ srcRecord.fail();
} else if (result.getSystemException() != null) {
log.info("Encountered system exception when processing message
{}", srcRecord, result.getSystemException());
stats.incrementSystemExceptions(result.getSystemException());
--
To stop receiving notification emails like this one, please contact
[email protected].