Thank you so much Erik!

On Fri, Jan 13, 2017 at 4:40 PM, Erick Erickson <erickerick...@gmail.com>
wrote:

> Here's what I'd do
> 1> create a new collection with a single shard
> 2> use the MERGEINDEXES core admin API command to merge the indexes
> from the old 2-shard collection
>
> That way you have a chance to verify that the merged collection is OK
> before deleting the old 2-shard collection.
>
> On Fri, Jan 13, 2017 at 4:08 PM, Rachid Bouacheria <willi...@gmail.com>
> wrote:
> > Hi All,
> >
> > I have a collection that has 2 shards. And I am finding that the 2 shards
> > are unnecessary.
> > So I would like to delete one of the shard without losing its data.
> >
> > Illustration:
> > Before : Collection has shard1 and Shard 2
> > After    : Collection No shard but the data contains Shard 1 and Shard 2
> >
> > I would think that someone must have done this already. So I would
> > appreciate any input.
> >
> > Thank you!
> > Rachid
>

Reply via email to