@tihomir @maxim We are facing the issue “RecordMarkerCommandAttributes.Details exceeds size limit” when executing a workflow in temporal. The actual task of insertion to DB in SideEffect has been completed for this, but got this issue and the workflow stopped. Need help in this
We have found the issue to be the size of the return from sideEffect is huge. we have fixed it and it worked.
The actual task of insertion to DB in SideEffect has been completed for this, but got this issue and the workflow stopped
Would use local activity to write to db rather than SideEffect if possible. It would also have the payload size limit restriction (2mb) you ran into, so not going to help with that, but it would allow you to set timeouts in case db conn blocks and also be able to do retries if needed.
From metrics side you can detect and alert on this happening via temporal_request_failure metric.