问题描述
Hi Team,
Hi Team,
我们计划使用Runasyc方法在Stateful Services中播种数据。我们能够将我们的数据迁移到我们的服务结构集合中,但在少数情况下并没有发生,并且在下面提到
。
We are planning to seed our data in our Stateful Services in Runasyc method. we are able to migrate our data to our service fabric collections but it is not happening in a few scenarios and mentioned below.
当服务角色或服务启动或更新出现切换时,我们发现了一些问题,这会导致我们的迁移中止,我们无法跟踪它的停止原因。
We observed some issues when there is a switch in service role or service start or update, which is aborting our migration and we are unable to track why it is stopped.
我们尝试使用生命周期方法并确定在数据迁移发生时是否停止迁移并在任何集合中维护该状态状态,但我们无法更新任何集合
服务正在切换角色。
We tried to use life cycle methods and identify if migration is stopped when data migration is happening and maintain that state in any collection status, but we are unable to update any collection service is switching a role.
你能否建议一个更好的方法来播种我们的数据,并处理障碍,如果有的话。
Can you please suggest a better way to seed our data and also handle the obstacles if any.
推荐答案
这篇关于如何处理数据迁移问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!