docs: private void checkAndLogInvariants() {
          if (m_pendingTxnCount < 0 || m_pendingTxnBytes < 0) {
              boolean badTxnCount = m_pendingTxnCount < 0 ? true : false;
              boolean badPendingBytes = m_pendingTxnBytes < 0 ? true : false;
              if (!m_haveLoggedACGNegativeFailure) {
                  m_haveLoggedACGNegativeFailure = true;
                  if (badTxnCount) {
                      networkLog.error("Admission control error, negative outstanding transaction count. " +
                              "This is error is not fatal, but it does indicate that admission control " +
                              "is not correctly tracking transaction resource usage. This message will not repeat " +
                              "the next time the condition occurs to avoid log spam");
                  }
                  if (badPendingBytes) {
                      networkLog.error(
                              "Backpressure reports a negative outstanding transaction byte count (" +
                              m_pendingTxnBytes +
                              "). No action required.", new RuntimeException("for stack trace purposes"));
                  }
              }
  
              /*
               * Repair both. It's possible that repairing it will trigger a repair cascade
               * effectively rendering the ACG always permissive, but it should right itself
               * once all requests associated with the ACG have left the system and the correct values are indeed 0.
               */
              m_pendingTxnCount = 0;
              m_pendingTxnBytes = 0;
          }
      }