code: @InterfaceAudience.Private
      private void addPending(RevisionInternal revisionInternal) {
          synchronized (pendingSequencesLock) {
              long seq = revisionInternal.getSequence();
              pendingSequences.add(seq);
              if (seq > maxPendingSequence) {
                  maxPendingSequence = seq;
              }
          }
      }
docs: Adds a local revision to the "pending" set that are awaiting upload:
  - (void) addPending: (CBL_Revision*)rev in CBLRestPusher.m