code: public Set<BsonValue> getPausedDocumentIds(final MongoNamespace namespace) {
      this.waitUntilInitialized();
  
      try {
        ongoingOperationsGroup.enter();
        final Set<BsonValue> pausedDocumentIds = new HashSet<>();
  
        for (final CoreDocumentSynchronizationConfig config :
            this.syncConfig.getSynchronizedDocuments(namespace)) {
          if (config.isPaused()) {
            pausedDocumentIds.add(config.getDocumentId());
          }
        }
  
        return pausedDocumentIds;
      } finally {
        ongoingOperationsGroup.exit();
      }
    }
docs: Return the set of synchronized document _ids in a namespace
  that have been paused due to an irrecoverable error.
  
  @param namespace the namespace to get paused document _ids for.
  @return the set of paused document _ids in a namespace