docs: public void updateLastKnownStaleSequence(MetaDataContainer metaData, int partition) {
          long lastReceivedSequence;
          long lastKnownStaleSequence;
          do {
              lastReceivedSequence = metaData.getSequence();
              lastKnownStaleSequence = metaData.getStaleSequence();
  
              if (lastKnownStaleSequence >= lastReceivedSequence) {
                  break;
              }
          } while (!metaData.casStaleSequence(lastKnownStaleSequence, lastReceivedSequence));
  
          if (logger.isFinestEnabled()) {
              logger.finest(format("%s:[map=%s,partition=%d,lowerSequencesStaleThan=%d,lastReceivedSequence=%d]",
                      "Stale sequences updated", name, partition, metaData.getStaleSequence(), metaData.getSequence()));
          }
      }