Open Closed

Question on Db Migrations in a Multi-Tenant environment with each tenant having separate databases. #4859


User avatar
0
balessi75 created

ABP Commercial 7.0.1 / Blazor Server / EF / Non tiered / Separate Host DB, Separate Tenant DBs

What is the transactional behavior when the migrator is migrating multiple tenant databases?

If a particular tenant exceptions out, does just that tenant's migration roll back or will all tenants that have already been migrated in the process also roll back?

Thanks in advance!


2 Answer(s)
  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    It will only roll back the operation of the current database and will not affect other databases

    See: https://github.com/abpframework/abp/issues/11948#issuecomment-1071162824

  • User Avatar
    0
    balessi75 created

    Thanks!

Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11