Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Down shard server
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Ted  
View profile  
 More options Jan 6 2011, 10:40 am
From: Ted <underhi...@gmail.com>
Date: Thu, 6 Jan 2011 10:40:18 -0500
Local: Thurs, Jan 6 2011 10:40 am
Subject: Re: [mongodb-user] Re: Down shard server

So what will happen when mongo tries to access a chunk that is suppose to
exist on a (running) shard server but isn't there?

And what happens if there is an insert into that chunk?

On Wed, Jan 5, 2011 at 10:30 PM, Eliot Horowitz <eliothorow...@gmail.com>wrote:

> Right, the shard field.
> You HAVE to set to a real shard, not a dummy.

> The reason is you have to have chunks that take up the entire key space.
> If not, when you try to insert something there it will fail badly.
> The system also makes sure the key space is complete and sane.

> On Wed, Jan 5, 2011 at 5:56 PM, Ted <underhi...@gmail.com> wrote:
> > I assume by owner you mean the shard tag (vice the ns tag) from the
> shards
> > collection.  Do I just make up a dummy shard?

> > Curious to know why deleting the chunk's existence is bad.  The chunk is
> > gone.

> > On Wed, Jan 5, 2011 at 5:52 PM, Eliot Horowitz <eliothorow...@gmail.com>
> > wrote:

> >> Change owners, deleting the chunks would be bad.

> >> On Wed, Jan 5, 2011 at 5:45 PM, Ted <underhi...@gmail.com> wrote:
> >> > I would like to have a working cluster with 2 servers.  No worries
> about
> >> > the
> >> > lost chunks from the down server since this is a test system (I was
> >> > bummed
> >> > because the db was almost at a 1B rows).

> >> > Do I change owners or just delete the chunk's existence on the config
> >> > server?

> >> > On Wed, Jan 5, 2011 at 5:35 PM, Eliot Horowitz <
> eliothorow...@gmail.com>
> >> > wrote:

> >> >> What state do you want to end up?
> >> >> You can do some hackery on the config db if you need?

> >> >> i.e. shutdown all shards + mongos
> >> >>     remove that shard from the shards collection
> >> >>     change the owner of all chunks that were on that shard somewhere
> >> >> else

> >> >> obviously on a live system that would cause havoc, but should work

> >> >> On Wed, Jan 5, 2011 at 2:41 PM, Ted <underhi...@gmail.com> wrote:
> >> >> > I read through the thread a little too quick.  What should I do if
> I
> >> >> > don't
> >> >> > have a replacement server?

> >> >> > On Wed, Jan 5, 2011 at 2:22 PM, Alvin Richards <al...@10gen.com>
> >> >> > wrote:

> >> >> >> Yes, this is the best way to deal with this.

> >> >> >> -Alvin

> >> >> >> On Jan 5, 10:47 am, Ted <underhi...@gmail.com> wrote:
> >> >> >> > Hi,

> >> >> >> > I have a test cluster running 1.6.5 with 3 servers.  One of the
> >> >> >> > shard
> >> >> >> > servers died with no chance of recovery.

> >> >> >> > Is this post (http://groups.google.com/group/mongodb-user/

> browse_thread/thread/f76f1d8504101243/59633b2d68f6db1d?lnk=gst&q=failed
> >> >> >> > +shard+server#59633b2d68f6db1d) the best way to handle this
> >> >> >> > situation?

> >> >> >> > I just want to get the cluster going again and ignore the lost
> >> >> >> > data.

> >> >> >> > Thanks.

> >> >> >> --
> >> >> >> You received this message because you are subscribed to the Google
> >> >> >> Groups
> >> >> >> "mongodb-user" group.
> >> >> >> To post to this group, send email to
> mongodb-user@googlegroups.com.
> >> >> >> To unsubscribe from this group, send email to
> >> >> >> mongodb-user+unsubscribe@googlegroups.com<mongodb-user%2Bunsubscribe@google groups.com>
> .
> >> >> >> For more options, visit this group at
> >> >> >> http://groups.google.com/group/mongodb-user?hl=en.

> >> >> > --
> >> >> > You received this message because you are subscribed to the Google
> >> >> > Groups
> >> >> > "mongodb-user" group.
> >> >> > To post to this group, send email to mongodb-user@googlegroups.com
> .
> >> >> > To unsubscribe from this group, send email to
> >> >> > mongodb-user+unsubscribe@googlegroups.com<mongodb-user%2Bunsubscribe@google groups.com>
> .
> >> >> > For more options, visit this group at
> >> >> > http://groups.google.com/group/mongodb-user?hl=en.

> >> >> --
> >> >> You received this message because you are subscribed to the Google
> >> >> Groups
> >> >> "mongodb-user" group.
> >> >> To post to this group, send email to mongodb-user@googlegroups.com.
> >> >> To unsubscribe from this group, send email to
> >> >> mongodb-user+unsubscribe@googlegroups.com<mongodb-user%2Bunsubscribe@google groups.com>
> .
> >> >> For more options, visit this group at
> >> >> http://groups.google.com/group/mongodb-user?hl=en.

> >> > --
> >> > You received this message because you are subscribed to the Google
> >> > Groups
> >> > "mongodb-user" group.
> >> > To post to this group, send email to mongodb-user@googlegroups.com.
> >> > To unsubscribe from this group, send email to
> >> > mongodb-user+unsubscribe@googlegroups.com<mongodb-user%2Bunsubscribe@google groups.com>
> .
> >> > For more options, visit this group at
> >> > http://groups.google.com/group/mongodb-user?hl=en.

> >> --
> >> You received this message because you are subscribed to the Google
> Groups
> >> "mongodb-user" group.
> >> To post to this group, send email to mongodb-user@googlegroups.com.
> >> To unsubscribe from this group, send email to
> >> mongodb-user+unsubscribe@googlegroups.com<mongodb-user%2Bunsubscribe@google groups.com>
> .
> >> For more options, visit this group at
> >> http://groups.google.com/group/mongodb-user?hl=en.

> > --
> > You received this message because you are subscribed to the Google Groups
> > "mongodb-user" group.
> > To post to this group, send email to mongodb-user@googlegroups.com.
> > To unsubscribe from this group, send email to
> > mongodb-user+unsubscribe@googlegroups.com<mongodb-user%2Bunsubscribe@google groups.com>
> .
> > For more options, visit this group at
> > http://groups.google.com/group/mongodb-user?hl=en.

> --
> You received this message because you are subscribed to the Google Groups
> "mongodb-user" group.
> To post to this group, send email to mongodb-user@googlegroups.com.
> To unsubscribe from this group, send email to
> mongodb-user+unsubscribe@googlegroups.com<mongodb-user%2Bunsubscribe@google groups.com>
> .
> For more options, visit this group at
> http://groups.google.com/group/mongodb-user?hl=en.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.