HBASE-11272 Backport HBASE-11218 (Data loss in HBase standalone mode) to 0.98