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

chore(performance): Drop legacy key transactions table #29074

Merged
merged 4 commits into from
Oct 8, 2021

Conversation

Zylphrex
Copy link
Member

@Zylphrex Zylphrex commented Oct 5, 2021

Follow up to #29015 to drop the table as it is no longer in use.

Follow up to #29015 to drop the table as it is no longer in use.
@Zylphrex Zylphrex requested a review from a team October 5, 2021 14:11
@Zylphrex Zylphrex requested a review from a team as a code owner October 5, 2021 14:11
@github-actions
Copy link
Contributor

github-actions bot commented Oct 5, 2021

This PR has a migration; here is the generated SQL

BEGIN;
--
-- Delete model KeyTransaction
--
DROP TABLE "sentry_discoverkeytransaction" CASCADE;
COMMIT;


operations = [
migrations.DeleteModel(
name="KeyTransaction",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you know if this table is attached to any ETL jobs?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not aware of any ETL jobs using this table, is there any way to confirm this is the case?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You could search the getsentry/etl repo for any hits.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, I'm not seeing any usages of this table in getsentry or etl. Also did a quick search across the org and not getting any hits.

@Zylphrex Zylphrex merged commit 97da517 into master Oct 8, 2021
@Zylphrex Zylphrex deleted the chore/drop-legacy-key-transactions-table branch October 8, 2021 18:31
@github-actions github-actions bot locked and limited conversation to collaborators Oct 24, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants