-
Notifications
You must be signed in to change notification settings - Fork 329
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
merge code form metadata management to master #1420
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* metadata-framework * some update
… docs (#1374) * updating the listmetadata api request as per design doc for grpc * updating the listmetadata api response as per design doc for grpc * generate code using protoc based on new metadata.proto file * fetch request params for ListMetaData api , assign default values when required and send to metadata manager micro-service using grpc * reuse existing function to get pagination params * handling err in constructing ListMetaDataRequest * change message name to avoid conflicts with existing names * change SizeOfObject, SizeOfBucket representation to make it more understandable * update error message * renaming usage of Bucket message * changing type of size to int64 and remove id field for bucket and object metadata * rearrange to avoid repeated hard-coded value * remove commented code * update field type to Timestamp for date fields * Revert "update field type to Timestamp for date fields" till query runner is implemented * log msg update * err msg update
* [metadata manager m8s] [Validator] implementation for validator * [metadata manager m8s] API enhancement -corrections * [metadata manager m8s] [Validator] log err msg update * [metadata manager m8s] mr conflict resolution * [metadata manager m8s] [Validator] comment resolution * [metadata manager m8s] [query translator] * [metadata manager m8s] [query runner] * [metadata manager m8s] [query translator] uncomment findMatching documents * [metadata manager m8s] refactor code to utils * [metadata manager m8s] [query translator] self-review comment resolution * [metadata manager m8s] [query translator] remove extra spaces * [metadata manager m8s] comment resolution : remove dots in info msg, formatting * [metadata manager m8s] [query translator] refactoring query into multiple functions to increase readability * [metadata manager m8s] [query runner] remove unused file * [metadata manager m8s] comment resolution : giving example, renaming functions, and o/ping variable value in info log
* Removing tiers from scripts * Proper message to be shown when backend id does not exists * Removed tiers functions from the script * Removed tiers from testutils backend service * Removed tiers from testutils-data and repository script * Removed tiers from backend service test * Removed tiers from api-pkg-s3 scripts
This reverts commit 95cc3e8.
…1390) * [metadata manager m8s] [Result Paginator] impl for result pagination * Delete QueryRunner.go * remove space * [metadata manager m8s] [Result Paginator] fetching and using sort order * [metadata manager m8s] [Result Paginator] make empty sort param as valid and refactoring out constants * [metadata manager m8s] comment resolution : add licenses, move to single folder... * [metadata manager m8s] formatting * [metadata manager m8s] using constant * [metadata manager m8s] info -> infoln
…ice (#1387) * added aws storage driver for metadata sync service * some refactoring in aws driver and db metadata update * added error handling in aws driver and refactored go routine functions * removed BucketList and ObjectList methods from driver interface * changed object metadata model field type for ServerSideEncryption * removed duplicate bson library import * updating messages * refactored metadata storage, error handling and db write operation * updated metadata.pb.go * added new context passing for replaceOne operation in mongodb
…ice (#1387) * added aws storage driver for metadata sync service * some refactoring in aws driver and db metadata update * added error handling in aws driver and refactored go routine functions * removed BucketList and ObjectList methods from driver interface * changed object metadata model field type for ServerSideEncryption * removed duplicate bson library import * updating messages * refactored metadata storage, error handling and db write operation * updated metadata.pb.go * added new context passing for replaceOne operation in mongodb
…ct and number of objects and number of buckets (#1391)
* [metadata manager m8s] region name coming as bucket name fix * [metadata manager m8s] removing query result from log * [metadata manager m8s] fixing msg when type is valid and region not specified * [metadata manager m8s] converting bucketSizeOperator and objectSizeOperator to camelCase * [metadata management] store objects even though some api failed * [metadata manager m8s] removing query result from log * [metadata manager m8s] supporting caseinsensitive cloud type and coverting to lowercase internally
… region only (#1395) * aws driver updated to collect bucket metadata associated with backend region only * resolve race condition and remove unnecessary error returns * refactor an if else statement while storing bucket tags
…no objects showing with object level filter (#1396) * [metadata manager m8s] fixing expires date coming as zero value if no value is provided * [metadata manager m8s] empty buckets are missing in o/p for without any filter case fix * [metadata manager m8s] adding document Id to o/p * [metadata manager m8s] [query translator] adding filtered aggregation fields * [metadata manager m8s] [query translator] fixing buckets with no objects after filtering also getting displayed when querying object level * [metadata manager m8s] renaming fields as objectSizeInBytes,bucketSizeInBytes * [metadata manager m8s] remove unnecessary initialization * [metadata manager m8s] mr conflict resolution correction
* [metadata manager m8s] fixing expires date coming as zero value if no value is provided * [metadata manager m8s] empty buckets are missing in o/p for without any filter case fix * [metadata manager m8s] adding document Id to o/p * [metadata manager m8s] [query translator] adding filtered aggregation fields * [metadata manager m8s] [query translator] fixing buckets with no objects after filtering also getting displayed when querying object level * [metadata manager m8s] renaming fields as objectSizeInBytes,bucketSizeInBytes * [metadata manager m8s] remove unnecessary initialization * [metadata manager m8s] mr conflict resolution correction * [metadata manager m8s] adding storage class to output * [metadata manager m8s] remove log msg * [metadata manager m8s] remove mgo driver usages from metadata management ,#1389
* vendor files updated using "go mod vendor" * [metadata-manager] gcp object store driver impl [metadata-manager] gcp object store driver impl part2 * [metadata-manager] gcp driver store unit cases * Update model.go revert changes * revert go.sum changes
* [metadata manager m8s] fixing expires date coming as zero value if no value is provided * [metadata manager m8s] empty buckets are missing in o/p for without any filter case fix * [metadata manager m8s] adding document Id to o/p * [metadata manager m8s] [query translator] adding filtered aggregation fields * [metadata manager m8s] [query translator] fixing buckets with no objects after filtering also getting displayed when querying object level * [metadata manager m8s] renaming fields as objectSizeInBytes,bucketSizeInBytes * [metadata manager m8s] remove unnecessary initialization * [metadata manager m8s] mr conflict resolution correction * [metadata manager m8s] adding storage class to output * [metadata manager m8s] remove log msg * [metadata manager m8s] remove mgo driver usages from metadata management ,#1389 * [metadata manager m8s] Cache Impl for List Metadata * [metadata manager m8s] log info msg update * [metadata manager m8s] remove panic from code on failing to close cache * [metadata manager m8s] remove unneccesary file * [metadata manager m8s] easyjson dependency addition and getting generated code * [metadata manager m8s] conflict resolution * [metadata manager m8s] cache eviction and max-memory setting * [metadata manager m8s] cache err renaming
…cessible outside pkgs (#1402) * [metadata manager m8s] fixing expires date coming as zero value if no value is provided * [metadata manager m8s] empty buckets are missing in o/p for without any filter case fix * [metadata manager m8s] adding document Id to o/p * [metadata manager m8s] [query translator] adding filtered aggregation fields * [metadata manager m8s] [query translator] fixing buckets with no objects after filtering also getting displayed when querying object level * [metadata manager m8s] correct directives, make errMsg accessible to other pkgs
Co-authored-by: Pravin Ranjan <[email protected]>
sushanthakumar
approved these changes
Jun 12, 2023
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
skdwriting
approved these changes
Jun 12, 2023
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
(dev branch tested to master)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This Pr contains, all the file of metadata management branch to master.
The overall feature contains:
What type of PR is this?
What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes #
Test Report Added?:
Test Report:
Special notes for your reviewer: