Flush memtables on shutdown when durable writes are disabled patch by jbellis; reviewed by tjake for CASSANDRA-2958