For example, consider a scenario in which uploading a file to an Object Storage Service (OSS) bucket triggers a function that also uploads files to the OSS bucket. The function continuously triggers itself, resulting in an infinite loop.
You must ensure that functions are not infinitely recursive, like the function described
in the preceding example. For example, if your function is triggered by uploading
files to the src/
directory in the bucket, you can configure it to write files to the dst/
directory. This prevents the files generated by the function from triggering the
function again.