HBASE-11511 Write flush events to WAL (ADDENDUM to fix flaky test)