@InterfaceAudience.Private public class WALClosedException extends IOException
LogRoller
try to roll writer but the WAL already was closed. This may
happened when peer's sync replication state was transited from
SyncReplicationState.ACTIVE
to SyncReplicationState.DOWNGRADE_ACTIVE
and the
region's WAL was changed to a new one. But the old WAL was still left in LogRoller
.Modifier and Type | Field and Description |
---|---|
private static long |
serialVersionUID |
Constructor and Description |
---|
WALClosedException() |
WALClosedException(String msg) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
private static final long serialVersionUID
public WALClosedException()
public WALClosedException(String msg)
msg
- exception messageCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.