Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PG::DependentObjectsStillExist during start_sync on index drop+recreate #129

Open
annadowling opened this issue Jun 4, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@annadowling
Copy link
Collaborator

When I execute start_sync I encounter the following error:

Starting sync failed: PG::DependentObjectsStillExist: ERROR: cannot drop index idx_spotlight_result_sets_default_on_tenant_template_created_at because index index_spotlight_result_sets_on_tenant_template_created_at requires it

image

Its not clear to me yet whether it was rolling back because of something else and this is a result of that.
Steps used to create this:

1. cleanup --group-name $groupName --everything
2. Manually clear all tables from target database
3. config_check --copy-schema  --group-name $groupName
4. bootstrap --copy-schema --group-name $groupName
5. start_sync --group-name $groupName
@shayonj shayonj added the bug Something isn't working label Jun 4, 2024
@shayonj shayonj changed the title PG::DependentObjectsStillExist during start_sync PG::DependentObjectsStillExist during start_sync on index drop+recreate Jun 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants