Project

General

Profile

Actions

Bug #6221

closed

[Data Manager] implement Delete

Added by Ward Vandewege almost 9 years ago. Updated over 8 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
Keep
Target version:
Story points:
0.5

Description

By design, Data Manager deletes unneeded blocks by sending "trash lists" to the keepstore servers.

Currently, Data Manager computes lists of trashable blocks, but doesn't send them to the keepstore servers.

Merge #1 should include:
  • trash_worker.go must respect the never_delete flag, and this must be tested. When this is set, it should log a message (including the locator of the block being deleted) instead of deleting the file.
  • Temporarily -- until datamanager has an integration test -- modify keepstore so (except for the test suite) it is impossible to make never_delete==false.
Merge #2 should include:
  • data manager sends its trash lists to keep servers
    • the current code identifies only a subset of trash: blocks that are not referenced by any collection. It doesn't identify overreplicated blocks as trash. This is fine for now -- we're just concentrating on getting the list it does generate to propagate to the keepstore servers.

Merge #3 will be #6260


Subtasks 4 (0 open4 closed)

Task #6629: Review 6221-write-trash-listResolvedTom Clegg07/14/2015Actions
Task #6615: Support sending trash lists from data managerResolvedPeter Amstutz07/14/2015Actions
Task #6620: Review 6221-datamanager-delete @ 66380d0ResolvedPeter Amstutz07/14/2015Actions
Task #6673: merge 6221-write-trash-list only once keepstore is deployed with -no-delete as defaultResolvedPeter Amstutz07/14/2015Actions
Actions

Also available in: Atom PDF