HBASE-25984: Avoid premature reuse of sync futures in FSHLog (#3371)
commit5a19bcfa98b3ccd9f7fb1fb933248c808676d91c
authorBharath Vissapragada <bharathv@apache.org>
Wed, 16 Jun 2021 21:30:15 +0000 (16 14:30 -0700)
committerGitHub <noreply@github.com>
Wed, 16 Jun 2021 21:30:15 +0000 (16 14:30 -0700)
treee601cdc602acffa8725b99357c5e48ea950652fb
parent7466e08aec99b24d7317b9d760ae1f6933557d00
HBASE-25984: Avoid premature reuse of sync futures in FSHLog (#3371)

Signed-off-by: Viraj Jasani <vjasani@apache.org>
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/SyncFuture.java
hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/wal/SyncFutureCache.java [new file with mode: 0644]
hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/wal/TestFSHLog.java
hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/wal/TestSyncFutureCache.java [new file with mode: 0644]