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

fix(meta): emit kv change events after committing a transaction #8674

Merged
merged 2 commits into from
Nov 7, 2022

Conversation

drmingdrmer
Copy link
Member

I hereby agree to the terms of the CLA available at: https://databend.rs/dev/policies/cla/

Summary

fix(meta): emit kv change events after committing a transaction

Otherwise, pushing any events before a transaction being committed
potentially results in duplicated messages.

Replace NotifyKVEvent with Change, which is more generic to describe an event.

chore(meta): nothing changed

Changelog

Related Issues

@vercel
Copy link

vercel bot commented Nov 7, 2022

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

1 Ignored Deployment
Name Status Preview Updated
databend ⬜️ Ignored (Inspect) Nov 7, 2022 at 7:12AM (UTC)

@mergify mergify bot added the pr-bugfix this PR patches a bug in codebase label Nov 7, 2022
@drmingdrmer drmingdrmer marked this pull request as ready for review November 7, 2022 06:51
@drmingdrmer drmingdrmer requested a review from lichuang November 7, 2022 06:51
@drmingdrmer drmingdrmer force-pushed the 52-events branch 2 times, most recently from be2287d to e633d60 Compare November 7, 2022 07:07
Otherwise, pushing any events before a transaction being committed
potentially results in duplicated messages.

Replace `NotifyKVEvent` with `Change`, which is more generic to describe an event.
@drmingdrmer drmingdrmer merged commit 4ba8200 into databendlabs:main Nov 7, 2022
@drmingdrmer drmingdrmer deleted the 52-events branch November 7, 2022 09:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr-bugfix this PR patches a bug in codebase
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant