public void closeQuietly() { Throwable err = close(null); if (err != null) { JVMStabilityInspector.inspectThrowable(err); // This is not supposed to happen LoggerFactory.getLogger(getClass()).error("Error while closing mmapped regions", err); } }
public void closeQuietly() { Throwable err = close(null); if (err != null) { JVMStabilityInspector.inspectThrowable(err); // This is not supposed to happen LoggerFactory.getLogger(getClass()).error("Error while closing mmapped regions", err); } }
public void run() { try { runnable.run(); } catch (Throwable t) { JVMStabilityInspector.inspectThrowable(t); DebuggableThreadPoolExecutor.handleOrLog(t); } } }
public void closeQuietly() { Throwable err = close(null); if (err != null) { JVMStabilityInspector.inspectThrowable(err); // This is not supposed to happen LoggerFactory.getLogger(getClass()).error("Error while closing mmapped regions", err); } }
public void run() { try { runnable.run(); } catch (Throwable t) { JVMStabilityInspector.inspectThrowable(t); DebuggableThreadPoolExecutor.handleOrLog(t); } } }
public void run() { try { runnable.run(); } catch (Throwable t) { JVMStabilityInspector.inspectThrowable(t); DebuggableThreadPoolExecutor.handleOrLog(t); } } }
public void run() { try { runnable.run(); } catch (Throwable t) { JVMStabilityInspector.inspectThrowable(t); DebuggableThreadPoolExecutor.handleOrLog(t); } } }
@Override public void execute(NodeProbe probe) { try { probe.stopCassandraDaemon(); } catch (Exception e) { JVMStabilityInspector.inspectThrowable(e); // ignored } System.out.println("Cassandra has shutdown."); } }
private void logAndMarkIndexesFailed(Set<Index> indexes, Throwable indexBuildFailure) { JVMStabilityInspector.inspectThrowable(indexBuildFailure); if (indexBuildFailure != null) logger.warn("Index build of {} failed. Please run full index rebuild to fix it.", getIndexNames(indexes), indexBuildFailure); else logger.warn("Index build of {} failed. Please run full index rebuild to fix it.", getIndexNames(indexes)); indexes.forEach(SecondaryIndexManager.this::markIndexFailed); }
@Override public void execute(NodeProbe probe) { try { DatabaseDescriptor.toolInitialization(); probe.stopCassandraDaemon(); } catch (Exception e) { JVMStabilityInspector.inspectThrowable(e); // ignored } } }
@Override public void execute(NodeProbe probe) { try { DatabaseDescriptor.toolInitialization(); probe.stopCassandraDaemon(); } catch (Exception e) { JVMStabilityInspector.inspectThrowable(e); // ignored } } }
@Override public void execute(NodeProbe probe) { try { DatabaseDescriptor.toolInitialization(); probe.stopCassandraDaemon(); } catch (Exception e) { JVMStabilityInspector.inspectThrowable(e); // ignored } } }
public static void inspectCommitLogThrowable(Throwable t) { if (!StorageService.instance.isDaemonSetupCompleted()) { logger.error("Exiting due to error while processing commit log during initialization.", t); killer.killCurrentJVM(t, true); } else if (DatabaseDescriptor.getCommitFailurePolicy() == Config.CommitFailurePolicy.die) killer.killCurrentJVM(t); else inspectThrowable(t); }
public static void inspectCommitLogThrowable(Throwable t) { if (!StorageService.instance.isDaemonSetupCompleted()) { logger.error("Exiting due to error while processing commit log during initialization.", t); killer.killCurrentJVM(t, true); } else if (DatabaseDescriptor.getCommitFailurePolicy() == Config.CommitFailurePolicy.die) killer.killCurrentJVM(t); else inspectThrowable(t); }
public static void inspectCommitLogThrowable(Throwable t) { if (!StorageService.instance.isSetupCompleted()) { logger.error("Exiting due to error while processing commit log during initialization.", t); killer.killCurrentJVM(t, true); } else if (DatabaseDescriptor.getCommitFailurePolicy() == Config.CommitFailurePolicy.die) killer.killCurrentJVM(t); else inspectThrowable(t); }
public static void inspectCommitLogThrowable(Throwable t) { if (!StorageService.instance.isDaemonSetupCompleted()) { logger.error("Exiting due to error while processing commit log during initialization.", t); killer.killCurrentJVM(t, true); } else if (DatabaseDescriptor.getCommitFailurePolicy() == Config.CommitFailurePolicy.die) killer.killCurrentJVM(t); else inspectThrowable(t); }
@Override public void handleCorruptSSTable(CorruptSSTableException e) { if (!StorageService.instance.isDaemonSetupCompleted()) handleStartupFSError(e); JVMStabilityInspector.inspectThrowable(e); switch (DatabaseDescriptor.getDiskFailurePolicy()) { case stop_paranoid: StorageService.instance.stopTransports(); break; } }
@Override public void handleCorruptSSTable(CorruptSSTableException e) { if (!StorageService.instance.isDaemonSetupCompleted()) handleStartupFSError(e); JVMStabilityInspector.inspectThrowable(e); switch (DatabaseDescriptor.getDiskFailurePolicy()) { case stop_paranoid: StorageService.instance.stopTransports(); break; } }
@Override public void handleCorruptSSTable(CorruptSSTableException e) { if (!StorageService.instance.isSetupCompleted()) handleStartupFSError(e); JVMStabilityInspector.inspectThrowable(e); switch (DatabaseDescriptor.getDiskFailurePolicy()) { case stop_paranoid: StorageService.instance.stopTransports(); break; } }
@Override public void handleCorruptSSTable(CorruptSSTableException e) { if (!StorageService.instance.isDaemonSetupCompleted()) handleStartupFSError(e); JVMStabilityInspector.inspectThrowable(e); switch (DatabaseDescriptor.getDiskFailurePolicy()) { case stop_paranoid: StorageService.instance.stopTransports(); break; } }