Jason Guiditta wrote:
On Fri, 2011-07-29 at 12:26 -0400, Mike Orazi wrote:
> On 07/27/2011 05:06 PM, Jason Guiditta wrote:
> > On Sun, 2011-07-24 at 14:44 -0400, Hugh Brock wrote:
> >> Hello all.
> >>
> >>
<snip>
>
> Sorry for the slow response. Personally I like these stories as
> candidates to land in 0.4.0.
>
> The thing I'm worried about is making sure that we call out the
> dependencies required to make this happen and ensure that everyone is
> comfortable that we can meet those dependencies.
>
> I seem to remember some caveats around delete somewhere in the stack,
> but currently the details are escaping me (or maybe it is no longer the
> case).
>
This is entirely possible, though I think per object with should just
work on iwhd side (Jim or Pete, please correct me if I am wrong). What
I recall for issues around this were two things:
1. There is not a way to just 'clear out everything from iwhd' simply,
without removing the contents of the fs and mongo manually (again,
sketchy memory on this). However, I also recall this being described as
'by design', though I forget the rationale.
You should be able to automate the process simply
by listing all objects, and then iterating through
them, deleting each. When an object is removed,
I confirmed that all of its attributes are also removed,
so once they're all gone, the mongo DB should be pristine.