#572 COLLECTION Add capability to delete the collection providing a callback
Closed: Fixed None Opened 13 years ago by dpal.

If the collection contains some binary data to clear it one has to traverse the collection twice. Once to delete the values and another to delete the collection itself.
This enhancement calls for one stop shop operation:
- for each element of the collection call a callback
- delete the element

This is an optimization that will help with the performance and would reduce the amount of code needed when the collections are used to store binary data.


Fields changed

milestone: NEEDS_TRIAGE => SSSD 1.6.0

Fields changed

milestone: NEEDS_TRIAGE => SSSD 1.6.0

Fields changed

milestone: NEEDS_TRIAGE => SSSD 1.6.0

Fields changed

milestone: SSSD 1.6.0 => Tools 1.0

Fields changed

milestone: SSSD 1.6.0 => Tools 1.0

Fields changed

milestone: SSSD 1.6.0 => Tools 1.0

Fields changed

rhbz: => 0

Fields changed

rhbz: => 0

Fields changed

rhbz: => 0

It is in tree. Can't find a commit but it was done at least a year ago.
See collection.h function called col_destroy_collection_with_cb().

blockedby: =>
blocking: =>
coverity: =>
feature_milestone: =>
milestone: Tools Backlog => Tools 1.0
patch: => 0
resolution: => fixed
status: new => closed

It is in tree. Can't find a commit but it was done at least a year ago.
See collection.h function called col_destroy_collection_with_cb().

blockedby: =>
blocking: =>
coverity: =>
feature_milestone: =>
milestone: Tools Backlog => Tools 1.0
patch: => 0
resolution: => fixed
status: new => closed

It is in tree. Can't find a commit but it was done at least a year ago.
See collection.h function called col_destroy_collection_with_cb().

blockedby: =>
blocking: =>
coverity: =>
feature_milestone: =>
milestone: Tools Backlog => Tools 1.0
patch: => 0
resolution: => fixed
status: new => closed

Metadata Update from @dpal:
- Issue assigned to dpal
- Issue set to the milestone: Tools 1.0

7 years ago

SSSD is moving from Pagure to Github. This means that new issues and pull requests
will be accepted only in SSSD's github repository.

This issue has been cloned to Github and is available here:
- https://github.com/SSSD/sssd/issues/1614

If you want to receive further updates on the issue, please navigate to the github issue
and click on subscribe button.

Thank you for understanding. We apologize for all inconvenience.

Login to comment on this ticket.

Metadata