zookeeper-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From si...@apache.org
Subject svn commit: r1505183 - in /zookeeper/bookkeeper/branches/branch-4.2: CHANGES.txt bookkeeper-server/src/main/java/org/apache/bookkeeper/bookie/BookieShell.java
Date Sat, 20 Jul 2013 18:27:38 GMT
Author: sijie
Date: Sat Jul 20 18:27:37 2013
New Revision: 1505183

URL: http://svn.apache.org/r1505183
Log:
BOOKKEEPER-646: BookieShell readjournal command is throwing BufferUnderflowException (Rakesh
via sijie)

Modified:
    zookeeper/bookkeeper/branches/branch-4.2/CHANGES.txt
    zookeeper/bookkeeper/branches/branch-4.2/bookkeeper-server/src/main/java/org/apache/bookkeeper/bookie/BookieShell.java

Modified: zookeeper/bookkeeper/branches/branch-4.2/CHANGES.txt
URL: http://svn.apache.org/viewvc/zookeeper/bookkeeper/branches/branch-4.2/CHANGES.txt?rev=1505183&r1=1505182&r2=1505183&view=diff
==============================================================================
--- zookeeper/bookkeeper/branches/branch-4.2/CHANGES.txt (original)
+++ zookeeper/bookkeeper/branches/branch-4.2/CHANGES.txt Sat Jul 20 18:27:37 2013
@@ -44,6 +44,8 @@ Release 4.2.2 - Unreleased
 
         BOOKKEEPER-621: NPE in FileInfo.moveToNewLocation (ivank via sijie)
 
+        BOOKKEEPER-646: BookieShell readjournal command is throwing BufferUnderflowException
(Rakesh via sijie)
+
       hedwig-server:
 
         BOOKKEEPER-579: TestSubAfterCloseSub was put in a wrong package (sijie via ivank)

Modified: zookeeper/bookkeeper/branches/branch-4.2/bookkeeper-server/src/main/java/org/apache/bookkeeper/bookie/BookieShell.java
URL: http://svn.apache.org/viewvc/zookeeper/bookkeeper/branches/branch-4.2/bookkeeper-server/src/main/java/org/apache/bookkeeper/bookie/BookieShell.java?rev=1505183&r1=1505182&r2=1505183&view=diff
==============================================================================
--- zookeeper/bookkeeper/branches/branch-4.2/bookkeeper-server/src/main/java/org/apache/bookkeeper/bookie/BookieShell.java
(original)
+++ zookeeper/bookkeeper/branches/branch-4.2/bookkeeper-server/src/main/java/org/apache/bookkeeper/bookie/BookieShell.java
Sat Jul 20 18:27:37 2013
@@ -895,6 +895,12 @@ public class BookieShell implements Tool
             System.out.println();
             return;
         }
+        if (entryId == Bookie.METAENTRY_ID_FENCE_KEY) {
+            System.out.println("Type:           META");
+            System.out.println("Fenced");
+            System.out.println();
+            return;
+        }
         // process a data entry
         long lastAddConfirmed = recBuff.getLong();
         System.out.println("Type:           DATA");



Mime
View raw message