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

Add watcher to sync data in etcd to local cache #319

Merged
merged 3 commits into from
Aug 23, 2023
Merged

Add watcher to sync data in etcd to local cache #319

merged 3 commits into from
Aug 23, 2023

Conversation

hanahmily
Copy link
Contributor

Signed-off-by: Gao Hongtao <hanahmily@gmail.com>
@hanahmily hanahmily added the bug Something isn't working label Aug 23, 2023
@hanahmily hanahmily added this to the 0.5.0 milestone Aug 23, 2023
Signed-off-by: Gao Hongtao <hanahmily@gmail.com>
@codecov-commenter
Copy link

codecov-commenter commented Aug 23, 2023

Codecov Report

Merging #319 (9a9e42c) into main (c37bc25) will increase coverage by 1.14%.
The diff coverage is 63.38%.

@@            Coverage Diff             @@
##             main     #319      +/-   ##
==========================================
+ Coverage   39.74%   40.89%   +1.14%     
==========================================
  Files         105      107       +2     
  Lines       11337    11376      +39     
==========================================
+ Hits         4506     4652     +146     
+ Misses       6373     6256     -117     
- Partials      458      468      +10     
Files Changed Coverage Δ
banyand/measure/metadata.go 72.83% <ø> (+23.64%) ⬆️
banyand/metadata/schema/node.go 7.69% <0.00%> (+0.54%) ⬆️
banyand/metadata/schema/property.go 0.00% <0.00%> (ø)
banyand/metadata/schema/shard.go 0.00% <0.00%> (ø)
banyand/metadata/schema/topn.go 0.00% <0.00%> (ø)
banyand/stream/metadata.go 78.80% <ø> (+25.56%) ⬆️
pkg/run/closer.go 0.00% <0.00%> (ø)
banyand/metadata/schema/etcd.go 47.01% <44.82%> (-10.14%) ⬇️
banyand/metadata/schema/kind.go 58.76% <58.76%> (ø)
banyand/metadata/client.go 39.31% <66.66%> (+0.84%) ⬆️
... and 9 more

... and 3 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@wu-sheng wu-sheng merged commit 3e589ab into main Aug 23, 2023
13 checks passed
@wu-sheng wu-sheng deleted the watch-etcd branch August 23, 2023 01:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug] [Metadata] Use etcd watch API to update schema cache
3 participants