concurrent write to log and memtable insertions