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

NS-CACHE: Support S3 operations for cache enabled buckets #6130

Merged
merged 1 commit into from
Aug 25, 2020

Conversation

guptsanj
Copy link
Contributor

@guptsanj guptsanj commented Aug 17, 2020

Explain the changes

  1. Reject any versioning request to buckets with cache property
  2. Server Side copy for a cache miss for a source bucket different than the target bucket
  3. Multipart upload copy from a same/different sources
  4. List objects from cache/hub
  5. List Object versions defaults to List objects for cache enabled buckets
  6. List multipart uploads from hub
  7. Handle add/remove/get object tags from cache/hub buckets
  8. Store last modified time from hub for cached objects. Return this value as the last modified time with cached objects.
    Update Unit test

Issues: Fixed #xxx / Gap #xxx

Testing Instructions:

@guymguym guymguym added the Comp-Namespace Namespace buckets related label Aug 17, 2020
@guymguym guymguym changed the title Support S3 operations for cache enabled buckets NS-CACHE: Support S3 operations for cache enabled buckets Aug 17, 2020
@guptsanj guptsanj force-pushed the sgupta/s3-operations branch 3 times, most recently from c4f0785 to dff4429 Compare August 19, 2020 04:15
src/endpoint/s3/s3_rest.js Outdated Show resolved Hide resolved
src/endpoint/s3/ops/s3_get_bucket.js Outdated Show resolved Hide resolved
src/endpoint/s3/ops/s3_get_bucket.js Outdated Show resolved Hide resolved
src/sdk/object_sdk.js Outdated Show resolved Hide resolved
src/sdk/namespace_s3.js Outdated Show resolved Hide resolved
src/sdk/namespace_s3.js Outdated Show resolved Hide resolved
src/sdk/object_sdk.js Outdated Show resolved Hide resolved
src/endpoint/s3/s3_utils.js Outdated Show resolved Hide resolved
src/sdk/namespace_cache.js Show resolved Hide resolved
src/sdk/namespace_cache.js Outdated Show resolved Hide resolved
src/test/unit_tests/test_namespace_cache.js Outdated Show resolved Hide resolved
src/sdk/namespace_s3.js Outdated Show resolved Hide resolved
src/sdk/namespace_s3.js Outdated Show resolved Hide resolved
src/sdk/namespace_s3.js Outdated Show resolved Hide resolved
2. Server Side copy for a cache miss for a source bucket different than the target bucket
3. Multipart upload copy from a same/different sources
4. List objects from cache/hub
5. List Object versions defaults to List objects for cache enabled buckets
6. List multipart uploads from hub
7. Handle add/remove/get object tags from cache/hub buckets
8. Store last modified time from hub for cached objects. Return this value as the last modified time with cached objects.
9. Update Unit test

Signed-off-by: Sanjeev Gupta <guptsanj@us.ibm.com>
Copy link
Member

@guymguym guymguym left a comment

Choose a reason for hiding this comment

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

Looks awesome!

@guymguym guymguym dismissed jeniawhite’s stale review August 25, 2020 18:51

not relevant in latest code. thanks @jenia!

@guymguym guymguym merged commit 0a284a6 into noobaa:master Aug 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Comp-Namespace Namespace buckets related
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants