How index data of shard or replicat migrates from one node to other node when relocation of shard or replica?


(SuoNayi) #1

Hi all,
With reading about the source code of elasticsearch,I (a beginner
with ES) cannot easily figure out the whole flow.
I cannot find out how index data of shard or replicat migrates from one
node to other node when relocation of shard or replica.
Thanks for any tips or pointers.

SuoNayi

--


(Itamar Syn-Hershko) #2

See
http://www.elasticsearch.org/videos/2011/08/09/road-to-a-distributed-searchengine-berlinbuzzwords.html

On Thu, Oct 25, 2012 at 9:01 AM, SuoNayi suonayi@gmail.com wrote:

Hi all,
With reading about the source code of elasticsearch,I (a beginner
with ES) cannot easily figure out the whole flow.
I cannot find out how index data of shard or replicat migrates from one
node to other node when relocation of shard or replica.
Thanks for any tips or pointers.

SuoNayi

--

--


(SuoNayi) #3

I want to know which class is responsible for migrating index data from one
node to other node.

Thanks.

在 2012年10月25日星期四UTC+8下午3时06分52秒,Itamar Syn-Hershko写道:

See
http://www.elasticsearch.org/videos/2011/08/09/road-to-a-distributed-searchengine-berlinbuzzwords.html

On Thu, Oct 25, 2012 at 9:01 AM, SuoNayi <suo...@gmail.com <javascript:>>wrote:

Hi all,
With reading about the source code of elasticsearch,I (a beginner
with ES) cannot easily figure out the whole flow.
I cannot find out how index data of shard or replicat migrates from one
node to other node when relocation of shard or replica.
Thanks for any tips or pointers.

SuoNayi

--

--


(Igor Motov) #4

That's somewhat complicated, involves many different classes and probably
not the best place to start learning about ES. Are you trying to resolve
some particular issue or just curious about how things work? To answer your
question, if you are interested in the actual process of moving index
pieces from one node to another you take a look at RecoveryTarget and
RecoverySource in the org.elasticsearch.indices.recovery package.

On Thursday, October 25, 2012 5:33:28 AM UTC-4, SuoNayi wrote:

I want to know which class is responsible for migrating index data from
one node to other node.

Thanks.

在 2012年10月25日星期四UTC+8下午3时06分52秒,Itamar Syn-Hershko写道:

See
http://www.elasticsearch.org/videos/2011/08/09/road-to-a-distributed-searchengine-berlinbuzzwords.html

On Thu, Oct 25, 2012 at 9:01 AM, SuoNayi suo...@gmail.com wrote:

Hi all,
With reading about the source code of elasticsearch,I (a beginner
with ES) cannot easily figure out the whole flow.
I cannot find out how index data of shard or replicat migrates from one
node to other node when relocation of shard or replica.
Thanks for any tips or pointers.

SuoNayi

--

--


(SuoNayi) #5

Yes, I'm curious about how things work.It seems developer guide or
references is missing.

在 2012年10月25日星期四UTC+8下午7时41分55秒,Igor Motov写道:

That's somewhat complicated, involves many different classes and probably
not the best place to start learning about ES. Are you trying to resolve
some particular issue or just curious about how things work? To answer your
question, if you are interested in the actual process of moving index
pieces from one node to another you take a look at RecoveryTarget and
RecoverySource in the org.elasticsearch.indices.recovery package.

On Thursday, October 25, 2012 5:33:28 AM UTC-4, SuoNayi wrote:

I want to know which class is responsible for migrating index data from
one node to other node.

Thanks.

在 2012年10月25日星期四UTC+8下午3时06分52秒,Itamar Syn-Hershko写道:

See
http://www.elasticsearch.org/videos/2011/08/09/road-to-a-distributed-searchengine-berlinbuzzwords.html

On Thu, Oct 25, 2012 at 9:01 AM, SuoNayi suo...@gmail.com wrote:

Hi all,
With reading about the source code of elasticsearch,I (a
beginner with ES) cannot easily figure out the whole flow.
I cannot find out how index data of shard or replicat migrates from one
node to other node when relocation of shard or replica.
Thanks for any tips or pointers.

SuoNayi

--

--


(system) #6