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

node/metabase: Support ROOT and PHY search filters in new meta bucket #3124

Merged
merged 1 commit into from
Feb 13, 2025

Conversation

cthulhu-rider
Copy link
Contributor

No description provided.

@cthulhu-rider cthulhu-rider marked this pull request as ready for review February 12, 2025 16:09
Copy link

codecov bot commented Feb 12, 2025

Codecov Report

Attention: Patch coverage is 68.00000% with 8 lines in your changes missing coverage. Please review.

Project coverage is 22.94%. Comparing base (eb90734) to head (650b801).
Report is 2 commits behind head on master.

Files with missing lines Patch % Lines
pkg/local_object_storage/metabase/metadata.go 68.18% 4 Missing and 3 partials ⚠️
pkg/local_object_storage/metabase/put.go 66.66% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##           master    #3124   +/-   ##
=======================================
  Coverage   22.93%   22.94%           
=======================================
  Files         750      750           
  Lines       58683    58698   +15     
=======================================
+ Hits        13459    13467    +8     
- Misses      44282    44287    +5     
- Partials      942      944    +2     

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


func convertFilterValue(f object.SearchFilter) (object.SearchMatchType, string) {
if attr := f.Header(); attr == object.FilterRoot || attr == object.FilterPhysical {
return object.MatchStringEqual, binPropMarker
Copy link
Member

Choose a reason for hiding this comment

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

Do we have a check anywhere for these restricted (per attribute) operations?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

no checks. U mean that ROOT and PHY aint used w/ other matchers?

Copy link
Member

Choose a reason for hiding this comment

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

Yes, it should be a part of the request semantics check.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

gonna do in #3111

@cthulhu-rider cthulhu-rider merged commit ef63ec1 into master Feb 13, 2025
21 of 22 checks passed
@cthulhu-rider cthulhu-rider deleted the object-searchv2/root-phy branch February 13, 2025 17:17
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