HBASE-11511 Write flush events to WAL