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

Define st_connected_clients table #1264

Closed
Shubham8287 opened this issue May 20, 2024 · 0 comments · Fixed by #1288
Closed

Define st_connected_clients table #1264

Shubham8287 opened this issue May 20, 2024 · 0 comments · Fixed by #1288
Assignees

Comments

@Shubham8287
Copy link
Contributor

Prerequisite for implementing snapshotting.

Implement a system table with two columns, Identity and Address, with a multi-column index on both columns.

When calling the on-connect reducer, insert the new client into this table.

When calling the on-disconnect reducer, delete the disconnecting client from this table.

After replaying a quiescent database from its commitlog, for each row in the table, delete the row and call the on-disconnect reducer.

@Shubham8287 Shubham8287 self-assigned this May 20, 2024
@Shubham8287 Shubham8287 linked a pull request May 24, 2024 that will close this issue
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 a pull request may close this issue.

1 participant