presto-main/src/main/java/io/prestosql/execution/buffer/PartitionedOutputBuffer.java/PartitionedOutputBuffer/setNoMorePages
class PartitionedOutputBuffer:    @Override
    public void setNoMorePages()
    {
        state.compareAndSet(OPEN, NO_MORE_PAGES);
        state.compareAndSet(NO_MORE_BUFFERS, FLUSHING);
        memoryManager.setNoBlockOnFull();

        partitions.forEach(ClientBuffer::setNoMorePages);

        checkFlushComplete();
    }