HBASE-15536 Make AsyncFSWAL as our default WAL

Signed-off-by: zhangduo <zhangduo@apache.org>
This commit is contained in:
Michael Stack 2017-12-15 20:45:29 +08:00 committed by zhangduo
parent 018a65b947
commit 11e82de8a1
2 changed files with 2 additions and 2 deletions

View File

@ -146,7 +146,7 @@ public class AsyncFSWAL extends AbstractFSWAL<AsyncWriter> {
public static final String ASYNC_WAL_USE_SHARED_EVENT_LOOP =
"hbase.wal.async.use-shared-event-loop";
public static final boolean DEFAULT_ASYNC_WAL_USE_SHARED_EVENT_LOOP = true;
public static final boolean DEFAULT_ASYNC_WAL_USE_SHARED_EVENT_LOOP = false;
private final EventLoopGroup eventLoopGroup;

View File

@ -73,7 +73,7 @@ public class WALFactory implements WALFileLengthProvider {
* Maps between configuration names for providers and implementation classes.
*/
static enum Providers {
defaultProvider(FSHLogProvider.class),
defaultProvider(AsyncFSWALProvider.class),
filesystem(FSHLogProvider.class),
multiwal(RegionGroupingProvider.class),
asyncfs(AsyncFSWALProvider.class);