docs: public final void invalidateSession(RaftGroupId groupId, long id) {
          SessionState session = sessions.get(groupId);
          if (session != null && session.id == id) {
              sessions.remove(groupId, session);
          }
      }