HBASE-22539 WAL corruption due to early DBBs re-use when Durability.ASYNC_WAL is...
commit66a2fc5d25dd6dfd4d49b4af25c7430213562099
authorDuo Zhang <zhangduo@apache.org>
Mon, 5 Aug 2019 08:19:05 +0000 (5 16:19 +0800)
committerGitHub <noreply@github.com>
Mon, 5 Aug 2019 08:19:05 +0000 (5 16:19 +0800)
tree9c387c6d4994f92f471aafdc85fb14834d638d9e
parentf6ece8d8e314d4206ca4851967e5656fe9f22ccc
HBASE-22539 WAL corruption due to early DBBs re-use when Durability.ASYNC_WAL is used (#437)

Signed-off-by: Zheng Hu <openinx@gmail.com>
hbase-server/src/main/java/org/apache/hadoop/hbase/ipc/ServerCall.java
hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/wal/AbstractFSWAL.java
hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/wal/AsyncFSWAL.java
hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/wal/FSHLog.java
hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/wal/FSWALEntry.java
hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/wal/AbstractTestWALReplay.java
hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/wal/TestAsyncFSWAL.java
hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/wal/TestFSHLog.java
hbase-server/src/test/java/org/apache/hadoop/hbase/wal/TestAsyncFSWALCorruptionDueToDanglingByteBuffer.java [new file with mode: 0644]
hbase-server/src/test/java/org/apache/hadoop/hbase/wal/TestFSHLogCorruptionDueToDanglingByteBuffer.java [new file with mode: 0644]
hbase-server/src/test/java/org/apache/hadoop/hbase/wal/WALCorruptionDueToDanglingByteBufferTestBase.java [new file with mode: 0644]