From 2ceb19db9628e5711412425d477bc17908b3a9e7 Mon Sep 17 00:00:00 2001 From: LN <91385411+Ln11211@users.noreply.github.com> Date: Sun, 2 Oct 2022 16:50:14 +0530 Subject: [PATCH] Update control_plane.rst Added about large response while using Remote.Sync() and how to handle it in the doc --- docs/source/design/control_plane.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/source/design/control_plane.rst b/docs/source/design/control_plane.rst index d4c57d733d4..f581a7c8521 100644 --- a/docs/source/design/control_plane.rst +++ b/docs/source/design/control_plane.rst @@ -299,6 +299,11 @@ You can use :meth:`~flytekit.remote.remote.FlyteRemote.sync` to sync the entity synced_execution = remote.sync(execution, sync_nodes=True) node_keys = synced_execution.node_executions.keys() +when using ``FlyteRemote.sync`` + +- ``Received message larger than max (xxx vs. 4194304)`` usually crops up when the message size is too large. +- To fix this, edit the flyte-admin-base-config config map to increase ``maxMessageSizeBytes`` value. + ``node_executions`` will fetch all the underlying node executions recursively. To fetch output of a specific node execution: