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: xline watcher will loss event #678

Merged
merged 1 commit into from
Mar 13, 2024

Conversation

Phoenix500526
Copy link
Collaborator

@Phoenix500526 Phoenix500526 commented Mar 7, 2024

Closes: #677

Please briefly answer these questions:

  • what problem are you trying to solve? (or if there's no problem, what's the motivation for this change?)
    Add a HashSet to track all notified revision.

  • what changes does this pull request make?

  • are there any non-obvious implications of these changes? (does it break compatibility with previous versions, etc)

Copy link

codecov bot commented Mar 7, 2024

Codecov Report

Attention: Patch coverage is 84.61538% with 2 lines in your changes are missing coverage. Please review.

Project coverage is 74.90%. Comparing base (a44f710) to head (79a4c9e).
Report is 19 commits behind head on master.

Files Patch % Lines
crates/xline/src/storage/kvwatcher.rs 84.61% 1 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #678      +/-   ##
==========================================
+ Coverage   74.36%   74.90%   +0.53%     
==========================================
  Files         170      172       +2     
  Lines       24834    25375     +541     
  Branches    24834    25375     +541     
==========================================
+ Hits        18467    19006     +539     
+ Misses       5225     5175      -50     
- Partials     1142     1194      +52     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Phoenix500526 Phoenix500526 force-pushed the fix/watch-event-loss branch from f2e3021 to b9202df Compare March 7, 2024 13:56
@Phoenix500526 Phoenix500526 added this to the v0.7.0 milestone Mar 8, 2024
@Phoenix500526 Phoenix500526 force-pushed the fix/watch-event-loss branch from b9202df to f769203 Compare March 8, 2024 08:35
@Phoenix500526 Phoenix500526 force-pushed the fix/watch-event-loss branch from f769203 to 79a4c9e Compare March 8, 2024 08:44
@Phoenix500526 Phoenix500526 changed the title fix: fix:xline watcher will loss event fix: xline watcher will loss event Mar 8, 2024
@Phoenix500526 Phoenix500526 removed this from the v0.7.0 milestone Mar 12, 2024
@liangyuanpeng
Copy link
Contributor

liangyuanpeng commented Mar 13, 2024

have build the image on this PR and tested with #403 (single kubernetes cluster and single xline ),always success. (CI failed with too big log of xline debug for upload artifact)

@mergify mergify bot merged commit 72f3cf9 into xline-kv:master Mar 13, 2024
9 checks passed
@Phoenix500526 Phoenix500526 deleted the fix/watch-event-loss branch March 25, 2024 01:35
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.

[Bug]: Xline will loss event when using watch feature
4 participants