This assertion could fail if any of the commands in this block overlaps with the tenant migration in the background and fail with TenantMigrationAborted since the number of operations will be > 10 due to the retry.