View Issue Details

IDProjectCategoryView StatusLast Update
0007402GNUnetnamestore servicepublic2022-10-31 03:22
Reporterschanzen Assigned ToChristian Grothoff  
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 15: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 13:53

administrator   ~0019282

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

Issue History

Date Modified Username Field Change
2022-10-18 17:23 schanzen New Issue
2022-10-19 09:08 schanzen Relationship added child of 0007403
2022-10-19 09:08 schanzen Relationship deleted child of 0007403
2022-10-19 09:10 schanzen Relationship added child of 0007404
2022-10-19 09:26 schanzen Assigned To => schanzen
2022-10-19 09:26 schanzen Status new => assigned
2022-10-21 15:28 schanzen Status assigned => feedback
2022-10-21 15:28 schanzen Note Added: 0019266
2022-10-21 15:28 schanzen Assigned To schanzen => Christian Grothoff
2022-10-23 15:38 schanzen Relationship added related to 0007401
2022-10-24 13:53 schanzen Status feedback => resolved
2022-10-24 13:53 schanzen Resolution open => fixed
2022-10-24 13:53 schanzen Fixed in Version => 0.18.0
2022-10-24 13:53 schanzen Note Added: 0019282
2022-10-31 03:22 schanzen Status resolved => closed