public void addKeys(Collection<?> keys) {
      synchronized (this) {
        if (succeededKeys.getVersionTags().size() > 0) {
          throw new IllegalStateException(
              "attempt to store versionless keys when there are already versioned results");
        }
        succeededKeys.addAllKeys(keys);
      }
    }
record all succeeded keys when there are no version results
geode-core/src/main/java/org/apache/geode/internal/cache/PutAllPartialResultException.java