Feature #3510

Pithos backend: Return objects in a specific domain, optionally filtered by user

Added by Sofia Papagiannaki over 8 years ago. Updated about 8 years ago.

Status:Resolved Start date:03/29/2013
Priority:Medium Due date:
Assignee:Sofia Papagiannaki % Done:

0%

Category:Pithos Spent time: -
Target version:0.14.0

Description

Provide a pithos backend function that returns all the objects for a specific domain.

Optionally the function should accept a user filter.
In that case the function should return only the domain objects the user can access.

The feature is requested in order to improve the performance of image retrieval by plankton.

Associated revisions

Revision c265fb8a
Added by Sofia Papagiannaki over 8 years ago

Pithos backend: Return objects in a specific domain

Refs: #3510

Revision 5576e6dd
Added by Sofia Papagiannaki over 8 years ago

Pithos backend: Return objects in a specific domain

Refs: #3510

Revision 14c94c48
Added by Christos Stavrakakis over 8 years ago

Improve performance in listing images

Use '_get_domain_objects' function of Pithos backend, to list all
objects in a 'plankton' domain, instead of looping over all accessible
accounts, containers and objects. This function also returns metadata
and permissions for each object in order to avoid two extra calls for
each returned image.

This should provide a significant performance boost in listing available
images.

Note: Currently plankton API filters in 'list_images' are not
implemented.

Refs #3510

Revision 7736e11a
Added by Sofia Papagiannaki about 8 years ago

pithos: improve performance of get_domain_list

Before it used to query the database
for all the objects having the specific domain
and finally filtered out the objects to which the user had no access.
Now gets first the allowed_paths for the user and then
brings those having the specific domain

Refs: #3510

Revision ad9ada51
Added by Sofia Papagiannaki about 8 years ago

pithos: Update get objects in a specific domain

Improve performance

Refs: #3510

Revision a63f36a2
Added by Sofia Papagiannaki about 8 years ago

pithos backend: Extend list domain objects method

This method optionally accepts a user paramter and used to return
the objects shared to the user and having a specific domain.
This commit extends this functionality and returns also the objects
owned by the user and having the specific domain

Refs: #3510

Revision 8b365874
Added by Sofia Papagiannaki about 8 years ago

pithos: improve performance of get_domain_list

Before it used to query the database
for all the objects having the specific domain
and finally filtered out the objects to which the user had no access.
Now gets first the allowed_paths for the user and then
brings those having the specific domain

Refs: #3510

Revision 4100e0ee
Added by Sofia Papagiannaki about 8 years ago

pithos: Update get objects in a specific domain

Improve performance

Refs: #3510

Revision 18d46d23
Added by Sofia Papagiannaki about 8 years ago

pithos backend: Extend list domain objects method

This method optionally accepts a user paramter and used to return
the objects shared to the user and having a specific domain.
This commit extends this functionality and returns also the objects
owned by the user and having the specific domain

Refs: #3510

Revision 9f5c8386
Added by Sofia Papagiannaki about 8 years ago

pithos: Fix attribute copy

The newly created attributed used to point in the source node
instead of the destination

Refs: 3510

History

#1 Updated by Vangelis Koukis over 8 years ago

  • Subject changed from Extend pithos backend to Pithos backend: Return objects in a specific domain, optionally filtered by user

#2 Updated by Sofia Papagiannaki about 8 years ago

  • Status changed from Assigned to Resolved

Also available in: Atom PDF