-
Notifications
You must be signed in to change notification settings - Fork 76
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
NSFS | versioning | Implement list-object-versions #7203
Conversation
64d7798
to
2fa76e4
Compare
2fa76e4
to
1447c79
Compare
c89c1b1
to
949aa0f
Compare
@v-harihar Also, we will need relevant unit tests for this to be covered. |
sure. |
949aa0f
to
c54d9e9
Compare
c54d9e9
to
ab270d0
Compare
ab270d0
to
bdcb986
Compare
f420337
to
7945f08
Compare
34b352b
to
bdfd7aa
Compare
fd98596
to
2cc78b7
Compare
6cdad11
to
a82c772
Compare
/*eslint max-lines: ["error", 3000]*/ | ||
/*eslint max-statements: ["error", 80, { "ignoreTopLevelFunctions": true }]*/ |
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.
I wonder, isn't there a better way then adding those?
23ac50a
to
6ff2db8
Compare
approved by mistake. will let Romy approve
6a60005
to
e779895
Compare
d27cb48
to
f4295af
Compare
Approved but -
|
list-object-versions returns metadata about all versions of the objects in a bucket. You can also use request parameters as selection criteria to return metadata about a subset of all the object versions. Moved object sorting under .versions to dir_cache 1. Kept 2 seperate cache for list-objects and list_object_versions 2. Sorting of the all entries done in version_dir_cache 3. handled keymarker and versions id marker 4. Added test cases for list object versions Issues: Fixed noobaa#7169 Signed-off-by: Vinayakswami Hariharmath <vharihar@redhat.com>
Signed-off-by: Vinayakswami Hariharmath <vharihar@redhat.com>
Signed-off-by: Vinayakswami Hariharmath <vharihar@redhat.com>
f4295af
to
6f75571
Compare
Explain the changes
list-object-versions returns metadata about all versions of the objects in a bucket. You can also use request parameters as selection criteria to return metadata about a subset of all the object versions.
Moved object sorting under .versions to dir_cache
Issues: Fixed #7169
Testing Instructions:
list-object_versions
operation. This should returns the metadata of all objects includingversions
anddelete_markers
Signed-off-by: Vinayakswami Hariharmath vharihar@redhat.com