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

Watch sync refactor #18976

Merged
merged 7 commits into from
Dec 2, 2024
Merged

Watch sync refactor #18976

merged 7 commits into from
Dec 2, 2024

Conversation

serathius
Copy link
Member

Split off #18975

@serathius
Copy link
Member Author

cc @ahrtr @jmhbnz

Copy link

codecov bot commented Dec 1, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 68.77%. Comparing base (3d46df1) to head (3741000).
Report is 10 commits behind head on main.

Additional details and impacted files
Files with missing lines Coverage Δ
server/storage/mvcc/watchable_store.go 92.80% <100.00%> (-0.67%) ⬇️

... and 20 files with indirect coverage changes

@@           Coverage Diff           @@
##             main   #18976   +/-   ##
=======================================
  Coverage   68.77%   68.77%           
=======================================
  Files         420      420           
  Lines       35598    35599    +1     
=======================================
+ Hits        24483    24484    +1     
- Misses       9685     9686    +1     
+ Partials     1430     1429    -1     

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3d46df1...3741000. Read the comment docs.

@serathius serathius force-pushed the watch-sync-refactor branch from 014230f to 8ab0b7d Compare December 1, 2024 17:32
@serathius
Copy link
Member Author

Verify fails on master and integration tests seem flaky.
cc @jmhbnz @ivanvc
Maybe we could have periodic for integration tests?

@serathius
Copy link
Member Author

/retest

Copy link
Member

@ahrtr ahrtr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Thanks for the nice refactoring.

@@ -70,12 +70,18 @@ type watchableStore struct {
wg sync.WaitGroup
}

var _ WatchableKV = (*watchableStore)(nil)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@k8s-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ahrtr, serathius

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@serathius serathius merged commit 78885f6 into etcd-io:main Dec 2, 2024
34 checks passed
@ivanvc
Copy link
Member

ivanvc commented Dec 3, 2024

Verify fails on master and integration tests seem flaky. cc @jmhbnz @ivanvc Maybe we could have periodic for integration tests?

Sounds like a good idea. I'll open a PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

4 participants