code: @Override
      public void abort() throws TTException {
          checkState(!mDelegate.isClosed(), "Transaction is already closed.");
          long revisionToSet = 0;
          revisionToSet = mDelegate.mPageReadTrx.getRevision() - 1;
  
          getPtx().close();
  
          // Reset internal transaction state to last committed uber page.
          mDelegate.setPageTransaction(mSession.beginBucketWtx(revisionToSet));
      }
docs: {@inheritDoc}