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 mod revision check to write requests(measure/stream) #322

Merged
merged 12 commits into from
Sep 15, 2023

Conversation

hailin0
Copy link
Contributor

@hailin0 hailin0 commented Aug 31, 2023

  • If this is non-trivial feature, paste the links/URLs to the design doc.

  • Update the documentation to include this new feature.

  • Tests(including UT, IT, E2E) are added to verify the new feature.

  • If it's UI related, attach the screenshots below.

  • If this pull request closes/resolves/fixes an existing issue, replace the issue number. Close Add mod revision check to write requests skywalking#10956.

  • Update the CHANGES log.

@hailin0
Copy link
Contributor Author

hailin0 commented Aug 31, 2023

@codecov-commenter
Copy link

codecov-commenter commented Sep 8, 2023

Codecov Report

Merging #322 (a33b609) into main (4722514) will decrease coverage by 0.05%.
The diff coverage is 23.23%.

@@            Coverage Diff             @@
##             main     #322      +/-   ##
==========================================
- Coverage   40.63%   40.59%   -0.05%     
==========================================
  Files         110      110              
  Lines       11726    11775      +49     
==========================================
+ Hits         4765     4780      +15     
- Misses       6493     6526      +33     
- Partials      468      469       +1     
Files Changed Coverage Δ
banyand/liaison/grpc/measure.go 1.85% <0.00%> (-0.17%) ⬇️
banyand/liaison/grpc/stream.go 2.15% <0.00%> (-0.24%) ⬇️
banyand/measure/measure_topn.go 29.33% <0.00%> (-0.10%) ⬇️
banyand/measure/measure_write.go 3.84% <0.00%> (-0.03%) ⬇️
banyand/measure/metadata.go 66.42% <0.00%> (ø)
banyand/metadata/schema/property.go 0.00% <0.00%> (ø)
banyand/metadata/schema/schema.go 58.82% <ø> (ø)
banyand/metadata/schema/shard.go 0.00% <0.00%> (ø)
banyand/metadata/schema/topn.go 0.00% <0.00%> (ø)
test/stress/cases/istio/repo.go 0.00% <0.00%> (ø)
... and 7 more

... and 2 files with indirect coverage changes

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

@@ -33,7 +33,7 @@ services:
- sw_agent:/skywalking-java-agent

oap:
image: "ghcr.io/apache/skywalking/oap:${SW_OAP_COMMIT}"
image: "ghcr.io/apache/skywalking-banyandb-java-client/oap:${SW_OAP_COMMIT}"
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Use this image for integration testing

apache/skywalking-banyandb-java-client#47

@hailin0
Copy link
Contributor Author

hailin0 commented Sep 11, 2023

show case

2023-09-11+00.47.28_out.mov

"the number of tags %d in %s is less then expected %d",
len(parsedTagFamily.Tags), familyName, len(refs))
}
tags := make([]*modelv1.Tag, len(parsedTagFamily.GetTags()))
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fix query failure caused by schema changes

@hailin0 hailin0 force-pushed the add_mod_revision branch 2 times, most recently from 1a6baeb to 8d55363 Compare September 11, 2023 03:12
- Support for create/update schema check mod revision
- Support for write data check mod revision
- Adapt to web console requests
- Update OAP e2e image
- Fix query failure caused by schema change
@hailin0
Copy link
Contributor Author

hailin0 commented Sep 12, 2023

PTAL

@wu-sheng wu-sheng added this to the 0.5.0 milestone Sep 12, 2023
@wu-sheng wu-sheng added the enhancement New feature or request label Sep 12, 2023
api/proto/banyandb/measure/v1/write.proto Outdated Show resolved Hide resolved
api/proto/banyandb/measure/v1/write.proto Show resolved Hide resolved
api/proto/banyandb/stream/v1/write.proto Show resolved Hide resolved
api/proto/banyandb/stream/v1/write.proto Outdated Show resolved Hide resolved
banyand/liaison/grpc/discovery.go Outdated Show resolved Hide resolved
api/proto/banyandb/measure/v1/write.proto Outdated Show resolved Hide resolved
api/proto/banyandb/measure/v1/write.proto Outdated Show resolved Hide resolved
api/proto/banyandb/model/v1/write.proto Outdated Show resolved Hide resolved
api/proto/banyandb/model/v1/write.proto Outdated Show resolved Hide resolved
banyand/liaison/grpc/stream.go Outdated Show resolved Hide resolved
pkg/query/logical/common.go Outdated Show resolved Hide resolved
@hanahmily hanahmily merged commit 9552688 into apache:main Sep 15, 2023
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
4 participants