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

feat(duplication): support duplication entry for multiple purposes #2163

Merged

Conversation

empiredan
Copy link
Contributor

@empiredan empiredan commented Dec 3, 2024

duplication_entry is an important struct for duplication, including per-duplication
properties and progress info(confirmed decree) for each partition of a table. It
contains all useful info for a duplication. Therefore, it has been used in response to
query and sync:

  • The query is requested by client, to the meta server to get the properties of
    duplications of single table;
  • The sync is requested by replica server, also to the meta server to sync progress.

Soon we would support a new interface to get duplications from multiple tables,
i.e. list duplications. It would request duplications of multiple tables, also including
per-duplication properties and progress info(confirmed decree and a new field last
committed decree). It still uses duplication_entry as the response to the client.
Thus we add fields to duplication_entry to support more purposes.

@empiredan empiredan added the component/duplication cluster duplication label Dec 3, 2024
@empiredan empiredan marked this pull request as ready for review December 3, 2024 09:30
@empiredan empiredan merged commit 7c49e41 into apache:master Dec 4, 2024
99 of 100 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants