There is a function in state/prune.go for pruning collections, that seems to have some hard coded references to history, but it could / should be reused in the places where we are removing all the statuses history documents.
There is a function in state/prune.go for pruning collections, that seems to have some hard coded references to history, but it could / should be reused in the places where we are removing all the statuses history documents.