Starts in:
1 DAY
12 HRS
51 MIN
18 SEC
Starts in:
1 D
12 H
51 M
18 S
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 v9.1.0-preview. Updated on November 20, 2024, 13:06