Skip to content

Support add/drop tables #14

Description

@zhousun

Right now, pg_replicate will calling BatchDataPipeline::start, it will keep consuming cdc stream in a loop, and there's no way to add a table or drop a table from the stream.

  1. We need a way for pg_mooncake to add a table to subscriber.
  • Currently we are fetching table metadata on BatchDataPipeline::start by querying postgres, probably need a new way.
  1. For replicating existing heap table, we need a way to 'backfill' before start applying cdc.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions