Add global pending compactions and memtable flushes.