@Override
        public long getSyncedLength() {
          return w.getSyncedLength();
        }
Testing sync/append failures. Copied from TestHRegion.
hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestFailedAppendAndSync.java