Skip to content
Snippets Groups Projects
Commit d7d229ca authored by Gerhard Gonter's avatar Gerhard Gonter :speech_balloon:
Browse files

diagnostic output; the collection should be indexed by path

parent 2e19c3ed
No related branches found
No related tags found
No related merge requests found
......@@ -622,10 +622,12 @@ sub remove_from_store
}
elsif ($be eq 'MongoDB')
{
my $_cat= $objreg->{'_cat'};
foreach my $item (@$drop_list)
{
my ($id_str, $path)= @$item;
$objreg->{'_cat'}->remove ( { 'key' => $id_str, 'type' => $objreg->{'key'},
print "drop: key=[$id_str] store=[$store] path=[$path]\n";
$_cat->remove ( { 'key' => $id_str, 'type' => $objreg->{'key'},
'store' => $store, 'path' => $path } );
}
return {}; # TODO: TA::Hasher variant returns dropped items
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment