HBASE-15536 Make AsyncFSWAL as our default WAL
Signed-off-by: zhangduo <zhangduo@apache.org>
This commit is contained in:
parent
a2dbb42284
commit
76057aab62
|
@ -146,7 +146,7 @@ public class AsyncFSWAL extends AbstractFSWAL<AsyncWriter> {
|
||||||
|
|
||||||
public static final String ASYNC_WAL_USE_SHARED_EVENT_LOOP =
|
public static final String ASYNC_WAL_USE_SHARED_EVENT_LOOP =
|
||||||
"hbase.wal.async.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;
|
private final EventLoopGroup eventLoopGroup;
|
||||||
|
|
||||||
|
|
|
@ -73,7 +73,7 @@ public class WALFactory implements WALFileLengthProvider {
|
||||||
* Maps between configuration names for providers and implementation classes.
|
* Maps between configuration names for providers and implementation classes.
|
||||||
*/
|
*/
|
||||||
static enum Providers {
|
static enum Providers {
|
||||||
defaultProvider(FSHLogProvider.class),
|
defaultProvider(AsyncFSWALProvider.class),
|
||||||
filesystem(FSHLogProvider.class),
|
filesystem(FSHLogProvider.class),
|
||||||
multiwal(RegionGroupingProvider.class),
|
multiwal(RegionGroupingProvider.class),
|
||||||
asyncfs(AsyncFSWALProvider.class);
|
asyncfs(AsyncFSWALProvider.class);
|
||||||
|
|
Loading…
Reference in New Issue