Distributed Replicated Block Device (DRBD) development
 help / color / mirror / Atom feed
* [Drbd-dev] The drbd resync process
       [not found] <20080806100003.E28A12E3A53E@mail.linbit.com>
@ 2008-08-08  8:16 ` niko
  2008-08-08  9:15   ` Lars Ellenberg
  0 siblings, 1 reply; 2+ messages in thread
From: niko @ 2008-08-08  8:16 UTC (permalink / raw)
  To: drbd-dev

Consider node A crashed as primary and rejoining the cluster,B as the
surviving node.
What's the resync process ?

I can't find how the drbd_start_resync () function call the
w_make_resync_request() to send RSDataRequest message to the SyncSource

When the peer node recovers or the connection is re-established, DRBD
combines the bitmap information from both nodes to determine the total
data set that it must re-synchronize.

Why DRBD needs to combines the bitmap information from both nodes since
one is Primary,the other is Secondary?

Thanks ,I'm just a learner.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Drbd-dev] The drbd resync process
  2008-08-08  8:16 ` [Drbd-dev] The drbd resync process niko
@ 2008-08-08  9:15   ` Lars Ellenberg
  0 siblings, 0 replies; 2+ messages in thread
From: Lars Ellenberg @ 2008-08-08  9:15 UTC (permalink / raw)
  To: drbd-dev

On Fri, Aug 08, 2008 at 04:16:43PM +0800, niko wrote:
> Consider node A crashed as primary and rejoining the cluster,B as the
> surviving node.
> What's the resync process ?
> 
> I can't find how the drbd_start_resync () function call the
> w_make_resync_request() to send RSDataRequest message to the SyncSource

it is "queued for the worker",
and requeued via a timer.

> When the peer node recovers or the connection is re-established, DRBD
> combines the bitmap information from both nodes to determine the total
> data set that it must re-synchronize.
> 
> Why DRBD needs to combines the bitmap information from both nodes since
> one is Primary,the other is Secondary?

both nodes may have changed the data independently.

> Thanks ,I'm just a learner.

now, I'd like to learn a bit more about you, still. so let me repeat my
question,

What is your motivation for this?
How can you help us?
How can you help us help you?


-- 
: Lars Ellenberg                            Tel +43-1-8178292-55 :
: LINBIT Information Technologies GmbH      Fax +43-1-8178292-82 :
: Vivenotgasse 48, A-1120 Vienna/Europe    http://www.linbit.com :

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-08-08  9:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20080806100003.E28A12E3A53E@mail.linbit.com>
2008-08-08  8:16 ` [Drbd-dev] The drbd resync process niko
2008-08-08  9:15   ` Lars Ellenberg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox