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

Skip WATCH if connection is already dirty #1612

Merged
merged 3 commits into from
Jul 29, 2023

Conversation

enjoy-binbin
Copy link
Member

@enjoy-binbin enjoy-binbin commented Jul 27, 2023

If a conn is already marked as watched_keys_modified,
we can skip the watch. It is a cleanup and in some situations
it may save us some memory and performance gains.

If a conn is already marked as watched_keys_modified,
we can skip the watch. It is a cleanup and in situations
it may save us some memory and performance gains.
@PragmaTwice PragmaTwice merged commit 758ce21 into apache:unstable Jul 29, 2023
25 checks passed
@enjoy-binbin enjoy-binbin deleted the optimize_watch_dirty branch July 29, 2023 08:40
p1u3o pushed a commit to p1u3o/incubator-kvrocks that referenced this pull request Aug 1, 2023
If a conn is already marked as watched_keys_modified,
we can skip the watch. It is a cleanup and in some situations
it may save us some memory and performance gains.
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.

3 participants