This is an automated email from the ASF dual-hosted git repository.

sijie pushed a commit to branch branch-4.6
in repository https://gitbox.apache.org/repos/asf/bookkeeper.git


The following commit(s) were added to refs/heads/branch-4.6 by this push:
     new 91d79bf  Fix incorrect cherry-pick (#1244)
91d79bf is described below

commit 91d79bf8c847f101ead21ae6f90e557d01b4d6d5
Author: Sijie Guo <guosi...@gmail.com>
AuthorDate: Sat Mar 10 01:11:40 2018 -0800

    Fix incorrect cherry-pick (#1244)
    
    There was a typo at cherry-picking #1240 when merging it.
---
 .../src/main/java/org/apache/bookkeeper/proto/BookieProtoEncoding.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/bookkeeper-server/src/main/java/org/apache/bookkeeper/proto/BookieProtoEncoding.java
 
b/bookkeeper-server/src/main/java/org/apache/bookkeeper/proto/BookieProtoEncoding.java
index af17ffa..15920dd 100644
--- 
a/bookkeeper-server/src/main/java/org/apache/bookkeeper/proto/BookieProtoEncoding.java
+++ 
b/bookkeeper-server/src/main/java/org/apache/bookkeeper/proto/BookieProtoEncoding.java
@@ -467,7 +467,7 @@ public class BookieProtoEncoding {
             buffer.markReaderIndex();
 
             if (!usingV2Protocol) {
-                out.add(REP_PREV3.decode(buffer));
+                out.add(REP_V3.decode(buffer));
             } else {
                 // If in the same connection we already got preV3 messages, 
don't try again to decode V3 messages
                 out.add(REP_PREV3.decode(buffer));

-- 
To stop receiving notification emails like this one, please contact
si...@apache.org.

Reply via email to