Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 15 additions & 8 deletions src/java/org/apache/cassandra/db/ColumnFamilyStore.java
Original file line number Diff line number Diff line change
Expand Up @@ -1356,18 +1356,25 @@ public void run()
}
catch (Throwable t)
{
JVMStabilityInspector.inspectThrowable(t);
postFlush.flushFailure = t;
Comment thread
pkolaczk marked this conversation as resolved.
JVMStabilityInspector.inspectThrowable(t);
}
finally
{
if (logger.isTraceEnabled())
logger.trace("Flush task {}@{} signaling post flush task", hashCode(), name);

if (logger.isTraceEnabled())
logger.trace("Flush task {}@{} signaling post flush task", hashCode(), name);

// signal the post-flush we've done our work
postFlush.latch.countDown();
// signal the post-flush we've done our work
postFlush.latch.countDown();

if (logger.isTraceEnabled())
logger.trace("Flush task task {}@{} finished", hashCode(), name);
if (logger.isTraceEnabled())
{
if (postFlush.flushFailure != null)
logger.trace("Flush task task {}@{} failed", hashCode(), name);
else
logger.trace("Flush task task {}@{} finished successfully", hashCode(), name);
}
}
}

public Collection<SSTableReader> flushMemtable(ColumnFamilyStore cfs, Memtable memtable, boolean flushNonCf2i)
Expand Down