如果在最后一个触发器的最后一个活动完成之前再次触发编目功能,会发生什么?
假设编排器需要3分钟才能完成所有活动,但是我在2分钟后再次触发了编排者(带有不同的输入)。编排者会取消第一次运行,还是会等待第一次运行完成,然后运行第二次运行?
Let's say that the orchestrator takes 3 minutes to complete all its activities, but I trigger the orchestrator again after 2 minutes (with different input). Will the orchestrator cancel the first run or will it wait for the first run to be completed and then run the second run?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
no ,编排功能无法取消以前的运行编排功能。
编排功能可以快速运行,因此我们可以快速调用编排功能,但是当涉及活动功能时,它会等待完成。
是,它将等待第一个编排耐用功能才能完成IT任务。
因为耐用功能使用Azure存储。它可以使整个运行时态在存储中存储。
根据 msdoc 耐用的功能性能和比例
请参阅在这里有关更多信息
No, Orchestration functions cannot cancel the previous running orchestration function.
Orchestration function can run quickly, so we can call the orchestration function quickly but when it comes to activity function it waits for the completion.
Yes, it will wait for the first orchestration durable function to complete it tasks.
Because the Durable function uses the Azure storage. It keeps stores the whole runtime states in a storage.
As per the MSDOC Durable functions Performance and scale below activities are happens while running the Durable Function
Refer here for more information