code: public RowIndexEntry tryAppend(AbstractCompactedRow row)
      {
          writer.mark();
          try
          {
              return append(row);
          }
          catch (Throwable t)
          {
              writer.resetAndTruncate();
              throw t;
          }
      }
docs: attempts to append the row, if fails resets the writer position