Skip to content

Potentially unclear error messages related to multiple installations and configurations on the same workspace #350

@nfx

Description

@nfx

The app can be installed by any administrator on the workspace, but currently there's no fail switch to abort the installation if any other administrator has installed ucx. Problems are mainly related to:

  • different installations using the same inventory database, overriding the state without any coordination. Edge case is related to one administrator dropping a database, which breaks the workflows of other installations
  • starting other workspace-state-changing workflows, like group migration

To prevent this:

  • every time a task is run, check configurations of every other potential installations and fail the run if database with the same name detected
  • on installation, detect all of the other configurations and fail if the same database found
  • technically, we can also add a check for database not to exist at the installation step, but it'll delay on the start of the warehouse.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions