View Issue Details

IDProjectCategoryView StatusLast Update
0007402GNUnetnamestore servicepublic2022-10-31 02:22
Reporterschanzen Assigned ToChristian Grothoff Due Date
PrioritynormalSeverityfeatureReproducibilityhave not tried
Status closedResolutionfixed 
Target Version0.18.0Fixed in Version0.18.0 
Summary0007402: Delete zone contents
DescriptionThere should be an API that allows the caller to delete all entries in a zone.
This deletion must be done "safely", i.e. tombstones will have to be created.
This is not the same as deletion of the zone keys, as we can then just purge everything from the DB.

Maybe we don't want this API after all, but currently, if you do not know the record labels of the zone you cannot delete the records.
TagsNo tags attached.

Relationships

related to 0007401 closedChristian Grothoff Deletion of egos results in orphanes namestore zones 
child of 0007404 assignedschanzen Namestore REST DELETE whole zone 

Activities

schanzen

2022-10-21 13:28

administrator   ~0019266

This is really tricky. Currently we would have to iterate over all records and delete them (safely, see above) ad hoc.
But it seems to me that this breaks all of our iterators (see "seq" parameters etc)?
So I think we need a new API which inside the namestore does some kind of special iteration (that does not break when we start deleting).
Is my thinking correct?

schanzen

2022-10-24 11:53

administrator   ~0019282

Added gnunet-namestore functionality for this in 73c3d1e1c..8de99f209

Issue History

Date ModifiedUsernameFieldChange
2022-10-18 15:23schanzenNew Issue
2022-10-19 07:08schanzenRelationship addedchild of 0007403
2022-10-19 07:08schanzenRelationship deletedchild of 0007403
2022-10-19 07:10schanzenRelationship addedchild of 0007404
2022-10-19 07:26schanzenAssigned To => schanzen
2022-10-19 07:26schanzenStatusnew => assigned
2022-10-21 13:28schanzenStatusassigned => feedback
2022-10-21 13:28schanzenNote Added: 0019266
2022-10-21 13:28schanzenAssigned Toschanzen => Christian Grothoff
2022-10-23 13:38schanzenRelationship addedrelated to 0007401
2022-10-24 11:53schanzenStatusfeedback => resolved
2022-10-24 11:53schanzenResolutionopen => fixed
2022-10-24 11:53schanzenFixed in Version => 0.18.0
2022-10-24 11:53schanzenNote Added: 0019282
2022-10-31 02:22schanzenStatusresolved => closed