private void abandonOneHeaderBeingMoved(int headerIx, CasLog.Src src) {
      byte header = headers[headerIx];
      int freeListIx = freeListFromHeader(header);
      if ((header & 1) != 1) failWithLog("Victim header not in use");
      LlapAllocatorBuffer buf = buffers[headerIx];
      if (buf != null) {
        // Note: no location check; the buffer is always locked for move here.
        if (assertsEnabled) {
          assertBufferLooksValid(freeListIx, buf, arenaIx, headerIx);
        }
        cancelDiscard(buf, arenaIx);
      } else {
        if (assertsEnabled) {
          checkHeader(headerIx, -1, true);
        }
        addToFreeListWithMerge(headerIx, freeListIx, src);
      }
    }
Abandons the move attempt for a single header that may be free or allocated.
llap-server/src/java/org/apache/hadoop/hive/llap/cache/BuddyAllocator.java