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

Delete replicator #2684

Merged
merged 6 commits into from
Jun 28, 2024
Merged

Delete replicator #2684

merged 6 commits into from
Jun 28, 2024

Conversation

sipec
Copy link
Member

@sipec sipec commented Jun 26, 2024

need to also delete from gcloud and am not sure how

@sipec sipec requested a review from mqp June 26, 2024 00:40
Copy link

vercel bot commented Jun 26, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
dev ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 28, 2024 11:53pm
docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 28, 2024 11:53pm
prod ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 28, 2024 11:53pm

@mqp
Copy link
Collaborator

mqp commented Jun 26, 2024

Don't forget to clean up the SQL stuff and the Firestore write triggers.

For deleting the gcloud infrastructure, it should be easy because the replicator is just a single instance and doesn't have anything fancy. If you just click into the VM instances list and terminate the instance, that should be basically it. There's also a Cloud Scheduler cronjob to replay failed writes every minute that you should delete.

sipec added 3 commits June 28, 2024 16:45
drop trigger replicate_writes on incoming_writes;
drop function get_document_table_spec;
drop function replicate_writes_process;
drop function replicate_writes_process_new;
drop function replicate_writes_process_one;
drop type table_spec;
drop table incoming_writes;
drop table tombstones;
@sipec
Copy link
Member Author

sipec commented Jun 28, 2024

looks like someone already stopped the replicator vm

SirSaltyy pushed a commit that referenced this pull request Jul 2, 2024
* delete backend/replicator

* move regen-types script to /common and /api

* clean up references

* Clean up old sql

drop trigger replicate_writes on incoming_writes;
drop function get_document_table_spec;
drop function replicate_writes_process;
drop function replicate_writes_process_new;
drop function replicate_writes_process_one;
drop type table_spec;
drop table incoming_writes;
drop table tombstones;

* yarn regen-types
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants