code: void setPaused(final boolean isPaused) {
      docLock.writeLock().lock();
      try {
        docsColl.updateOne(
            getDocFilter(namespace, documentId),
            new BsonDocument("$set",
                new BsonDocument(
                    ConfigCodec.Fields.IS_PAUSED,
                    new BsonBoolean(isPaused))));
        this.isPaused = isPaused;
      } catch (IllegalStateException e) {
        // eat this
      } finally {
        docLock.writeLock().unlock();
      }
    }
docs: A document that is paused no longer has remote updates applied to it.
  Any local updates to this document cause it to be thawed. An example of pausing a document
  is when a conflict is being resolved for that document and the handler throws an exception.
  
  @param isPaused whether or not this config is frozen