-
Notifications
You must be signed in to change notification settings - Fork 77
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 | Improve list objects performance on top of NS FS (PR 2/3) #7983
base: master
Are you sure you want to change the base?
Conversation
b8a62f9
to
dcd1480
Compare
5c0317a
to
f1ca72c
Compare
f1ca72c
to
0e9160d
Compare
0e9160d
to
c5643cc
Compare
770e1e5
to
48d2f71
Compare
delimiter: '/', | ||
}, dummy_object_sdk); | ||
expect(ls_obj_res.objects.map(it => it.key).length).toStrictEqual(keys_objects.length + 1); | ||
//expect(ls_obj_res.objects.map(it => it.key)).toEqual(keys_objects); |
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.
What does this test check? we should add more tests, specifically -
- 1000+ objects so we can check pagination.
Pagination check should contain - multiple list_objects() calls, first one checks the value of the continuation token/next marker and then pass it to the next list_objects() call. and we need to make sure all keys return within these calls. - Put objects in different heirarchies and do the same tests again.
Hi @naveenpaul1,
Details:
|
48d2f71
to
0bd84fd
Compare
@shirady could you please try the test after running |
0bd84fd
to
e92e28f
Compare
Signed-off-by: naveenpaul1 <[email protected]>
e92e28f
to
e4e5ad6
Compare
Explain the changes
NB : New parameter
next_pos
added to APIlist_objects
to pass the seek position. I tried to pass this along withnext_marker
as a object but Ceph test failed when comparingnext_marker
.Issues: Fixed #xxx / Gap #xxx
Testing Instructions:
ALLOW_NSFS_UNSORTED_OBJECTS_LIST
, Result should retun with unsorted list.