You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Zheng Lin Edwin Yeo <ed...@gmail.com> on 2016/02/01 11:56:03 UTC

Solr segment merging in different replica

Hi,

I would like to check, during segment merging, how did the replical node do
the merging?
Will it do the merging concurrently, or will the replica node delete the
old segment and replace the new one?

Also, is it possible to separate the network interface for inter-node
communication from the network interface for update/search requests?
If so I could put two network cards in each machine and route the index and
search traffic over the first interface and the traffic for the inter-node
communication (sending documents to replicas) over the second interface.

I'm using Solr 5.4.0

Regards,
Edwin

Re: Solr segment merging in different replica

Posted by Zheng Lin Edwin Yeo <ed...@gmail.com>.
Hi Shawn,

Thanks for your reply.

Yes, we were planning for such instance where the replica went down during
indexing, and when it re-started, it will start to copy the index over to
the main node.


Regards,
Edwin


On 5 February 2016 at 03:35, Shawn Heisey <ap...@elyograg.org> wrote:

> On 2/4/2016 9:27 AM, Zheng Lin Edwin Yeo wrote:
> > Yes, I'm already on SolrCloud, so I'll probably stick to that.
> >
> > Regarding the network, I am just afraid that when the replica code copies
> > the index over from the main node, it will use up all the available
> > bandwidth, and causes the search query to have little bandwidth left,
> which
> > will affect the performance of the search from the front-end.
>
> Replicating the index in SolrCloud should be a VERY rare event, only
> happening when there's a serious problem such as a server going down and
> coming back up later, or after certain maintenance events.
>
> Merges do not involve network traffic.  In SolrCloud, each replica will
> handle merging locally.  It does not happen over the network.
>
> Even if a replication DOES happen, TCP makes room on the network for new
> connections like queries.  It's inherent in the design of the protocol.
> This is particularly effective on LAN connectivity.  If there's a WAN
> involved, then you might be right to worry about bandwidth.
>
> Regarding something you asked earlier in the thread: Assuming LAN
> connectivity, I think the only thing you will achieve by using separate
> network interfaces is configuration complexity.
>
> It might be possible to separate the interfaces, even though I think
> it's not required.  If you populate the hosts file on each server, or
> use split DNS, you could have clients use a different address than the
> Solr servers themselves use for inter-node communication, but in general
> there is no need for this, because high network bandwidth utilization is
> only likely during a replication event, or during bulk indexing to
> rebuild collections.  For bulk indexing, the CPU and disk I/O impact
> will almost certainly cause more of a slowdown than the network, unless
> you're using a low-speed WAN, which is not recommended.
>
> Thanks,
> Shawn
>
>

Re: Solr segment merging in different replica

Posted by Shawn Heisey <ap...@elyograg.org>.
On 2/4/2016 9:27 AM, Zheng Lin Edwin Yeo wrote:
> Yes, I'm already on SolrCloud, so I'll probably stick to that.
>
> Regarding the network, I am just afraid that when the replica code copies
> the index over from the main node, it will use up all the available
> bandwidth, and causes the search query to have little bandwidth left, which
> will affect the performance of the search from the front-end.

Replicating the index in SolrCloud should be a VERY rare event, only
happening when there's a serious problem such as a server going down and
coming back up later, or after certain maintenance events.

Merges do not involve network traffic.  In SolrCloud, each replica will
handle merging locally.  It does not happen over the network.

Even if a replication DOES happen, TCP makes room on the network for new
connections like queries.  It's inherent in the design of the protocol. 
This is particularly effective on LAN connectivity.  If there's a WAN
involved, then you might be right to worry about bandwidth.

Regarding something you asked earlier in the thread: Assuming LAN
connectivity, I think the only thing you will achieve by using separate
network interfaces is configuration complexity.

It might be possible to separate the interfaces, even though I think
it's not required.  If you populate the hosts file on each server, or
use split DNS, you could have clients use a different address than the
Solr servers themselves use for inter-node communication, but in general
there is no need for this, because high network bandwidth utilization is
only likely during a replication event, or during bulk indexing to
rebuild collections.  For bulk indexing, the CPU and disk I/O impact
will almost certainly cause more of a slowdown than the network, unless
you're using a low-speed WAN, which is not recommended.

Thanks,
Shawn


Re: Solr segment merging in different replica

Posted by Zheng Lin Edwin Yeo <ed...@gmail.com>.
Thanks Emir and Benedetti.

Yes, I'm already on SolrCloud, so I'll probably stick to that.

Regarding the network, I am just afraid that when the replica code copies
the index over from the main node, it will use up all the available
bandwidth, and causes the search query to have little bandwidth left, which
will affect the performance of the search from the front-end.

Regards,
Edwin


On 4 February 2016 at 01:06, Alessandro Benedetti <ab...@apache.org>
wrote:

> Master/Slave is the old legacy way to obtain a resilient system.
> It's easier to setup, but if you are already on SolrCloud I can not see any
> advantage in moving back.
> Related the networking part, I am not a network expert.
> The only think I can tell you is that the inter-nodes communication is
> going to happen on the same REST endpoints and handlers which are used for
> search/updates ( same java process).
> I really doubt it is possible to have them running across different
> physical network interfaces.
>
> Cheers
>
>
> On 3 February 2016 at 10:41, Emir Arnautovic <emir.arnautovic@sematext.com
> >
> wrote:
>
> > Hi Edwin,
> > Master-Slave's main (maybe only) advantage is simpler infrastructure - it
> > does not use ZK. Also, it does assume you don't need NRT search since
> there
> > has to be longer periods between replicating master changes to slaves.
> >
> > Regards,
> > Emir
> >
> >
> > On 03.02.2016 04:48, Zheng Lin Edwin Yeo wrote:
> >
> >> Hi Emir,
> >>
> >> Thanks for your reply.
> >>
> >> As currently both of my main and replica are in the same server, and as
> I
> >> am using the SolrCloud setup, both the replica are doing the merging
> >> concurrently, which causes the memory usage of the server to be very
> high,
> >> and affect the other functions like querying. This issue should be
> >> eliminated when I shift my replica to another server.
> >>
> >> Would like to check, will there be any advantage if I change to the
> >> Master-Slave setup, as compared to the SolrCloud setup which I am
> >> currently
> >> using?
> >>
> >> Regards,
> >> Edwin
> >>
> >>
> >>
> >> On 2 February 2016 at 21:23, Emir Arnautovic <
> >> emir.arnautovic@sematext.com>
> >> wrote:
> >>
> >> Hi Edwin,
> >>> Do you see any signs of network being bottleneck that would justify
> such
> >>> setup? I would suggest you monitor your cluster before deciding if you
> >>> need
> >>> separate interfaces for external and internal communication. Sematext's
> >>> SPM
> >>> (http://sematext.com/spm) allows you to monitor SolrCloud, hosts and
> >>> network and identify bottlenecks in your cluster.
> >>>
> >>> Regards,
> >>> Emir
> >>>
> >>> --
> >>> Monitoring * Alerting * Anomaly Detection * Centralized Log Management
> >>> Solr & Elasticsearch Support * http://sematext.com/
> >>>
> >>>
> >>>
> >>> On 02.02.2016 00:50, Zheng Lin Edwin Yeo wrote:
> >>>
> >>> Hi Emir,
> >>>>
> >>>> My setup is SolrCloud.
> >>>>
> >>>> Also, will it be good to use a separate network interface to connect
> the
> >>>> two node with the interface that is used to connect to the network for
> >>>> searching?
> >>>>
> >>>> Regards,
> >>>> Edwin
> >>>>
> >>>>
> >>>> On 1 February 2016 at 19:01, Emir Arnautovic <
> >>>> emir.arnautovic@sematext.com>
> >>>> wrote:
> >>>>
> >>>> Hi Edwin,
> >>>>
> >>>>> What is your setup - SolrCloud or Master-Slave? If it si SolrCloud,
> >>>>> then
> >>>>> under normal index updates, each core is behaving as independent
> index.
> >>>>> In
> >>>>> theory, if all changes happen at the same time on all nodes, merges
> >>>>> will
> >>>>> happen at the same time. But that is not realistic and it is expected
> >>>>> to
> >>>>> happen in slightly different time.
> >>>>> If you are running Master-Slave, then new segments will be copied
> from
> >>>>> master to slave.
> >>>>>
> >>>>> Regards,
> >>>>> Emir
> >>>>>
> >>>>> --
> >>>>> Monitoring * Alerting * Anomaly Detection * Centralized Log
> Management
> >>>>> Solr & Elasticsearch Support * http://sematext.com/
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>> On 01.02.2016 11:56, Zheng Lin Edwin Yeo wrote:
> >>>>>
> >>>>> Hi,
> >>>>>
> >>>>>> I would like to check, during segment merging, how did the replical
> >>>>>> node
> >>>>>> do
> >>>>>> the merging?
> >>>>>> Will it do the merging concurrently, or will the replica node delete
> >>>>>> the
> >>>>>> old segment and replace the new one?
> >>>>>>
> >>>>>> Also, is it possible to separate the network interface for
> inter-node
> >>>>>> communication from the network interface for update/search requests?
> >>>>>> If so I could put two network cards in each machine and route the
> >>>>>> index
> >>>>>> and
> >>>>>> search traffic over the first interface and the traffic for the
> >>>>>> inter-node
> >>>>>> communication (sending documents to replicas) over the second
> >>>>>> interface.
> >>>>>>
> >>>>>> I'm using Solr 5.4.0
> >>>>>>
> >>>>>> Regards,
> >>>>>> Edwin
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> > --
> > Monitoring * Alerting * Anomaly Detection * Centralized Log Management
> > Solr & Elasticsearch Support * http://sematext.com/
> >
> >
>
>
> --
> --------------------------
>
> Benedetti Alessandro
> Visiting card : http://about.me/alessandro_benedetti
>
> "Tyger, tyger burning bright
> In the forests of the night,
> What immortal hand or eye
> Could frame thy fearful symmetry?"
>
> William Blake - Songs of Experience -1794 England
>

Re: Solr segment merging in different replica

Posted by Alessandro Benedetti <ab...@apache.org>.
Master/Slave is the old legacy way to obtain a resilient system.
It's easier to setup, but if you are already on SolrCloud I can not see any
advantage in moving back.
Related the networking part, I am not a network expert.
The only think I can tell you is that the inter-nodes communication is
going to happen on the same REST endpoints and handlers which are used for
search/updates ( same java process).
I really doubt it is possible to have them running across different
physical network interfaces.

Cheers


On 3 February 2016 at 10:41, Emir Arnautovic <em...@sematext.com>
wrote:

> Hi Edwin,
> Master-Slave's main (maybe only) advantage is simpler infrastructure - it
> does not use ZK. Also, it does assume you don't need NRT search since there
> has to be longer periods between replicating master changes to slaves.
>
> Regards,
> Emir
>
>
> On 03.02.2016 04:48, Zheng Lin Edwin Yeo wrote:
>
>> Hi Emir,
>>
>> Thanks for your reply.
>>
>> As currently both of my main and replica are in the same server, and as I
>> am using the SolrCloud setup, both the replica are doing the merging
>> concurrently, which causes the memory usage of the server to be very high,
>> and affect the other functions like querying. This issue should be
>> eliminated when I shift my replica to another server.
>>
>> Would like to check, will there be any advantage if I change to the
>> Master-Slave setup, as compared to the SolrCloud setup which I am
>> currently
>> using?
>>
>> Regards,
>> Edwin
>>
>>
>>
>> On 2 February 2016 at 21:23, Emir Arnautovic <
>> emir.arnautovic@sematext.com>
>> wrote:
>>
>> Hi Edwin,
>>> Do you see any signs of network being bottleneck that would justify such
>>> setup? I would suggest you monitor your cluster before deciding if you
>>> need
>>> separate interfaces for external and internal communication. Sematext's
>>> SPM
>>> (http://sematext.com/spm) allows you to monitor SolrCloud, hosts and
>>> network and identify bottlenecks in your cluster.
>>>
>>> Regards,
>>> Emir
>>>
>>> --
>>> Monitoring * Alerting * Anomaly Detection * Centralized Log Management
>>> Solr & Elasticsearch Support * http://sematext.com/
>>>
>>>
>>>
>>> On 02.02.2016 00:50, Zheng Lin Edwin Yeo wrote:
>>>
>>> Hi Emir,
>>>>
>>>> My setup is SolrCloud.
>>>>
>>>> Also, will it be good to use a separate network interface to connect the
>>>> two node with the interface that is used to connect to the network for
>>>> searching?
>>>>
>>>> Regards,
>>>> Edwin
>>>>
>>>>
>>>> On 1 February 2016 at 19:01, Emir Arnautovic <
>>>> emir.arnautovic@sematext.com>
>>>> wrote:
>>>>
>>>> Hi Edwin,
>>>>
>>>>> What is your setup - SolrCloud or Master-Slave? If it si SolrCloud,
>>>>> then
>>>>> under normal index updates, each core is behaving as independent index.
>>>>> In
>>>>> theory, if all changes happen at the same time on all nodes, merges
>>>>> will
>>>>> happen at the same time. But that is not realistic and it is expected
>>>>> to
>>>>> happen in slightly different time.
>>>>> If you are running Master-Slave, then new segments will be copied from
>>>>> master to slave.
>>>>>
>>>>> Regards,
>>>>> Emir
>>>>>
>>>>> --
>>>>> Monitoring * Alerting * Anomaly Detection * Centralized Log Management
>>>>> Solr & Elasticsearch Support * http://sematext.com/
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> On 01.02.2016 11:56, Zheng Lin Edwin Yeo wrote:
>>>>>
>>>>> Hi,
>>>>>
>>>>>> I would like to check, during segment merging, how did the replical
>>>>>> node
>>>>>> do
>>>>>> the merging?
>>>>>> Will it do the merging concurrently, or will the replica node delete
>>>>>> the
>>>>>> old segment and replace the new one?
>>>>>>
>>>>>> Also, is it possible to separate the network interface for inter-node
>>>>>> communication from the network interface for update/search requests?
>>>>>> If so I could put two network cards in each machine and route the
>>>>>> index
>>>>>> and
>>>>>> search traffic over the first interface and the traffic for the
>>>>>> inter-node
>>>>>> communication (sending documents to replicas) over the second
>>>>>> interface.
>>>>>>
>>>>>> I'm using Solr 5.4.0
>>>>>>
>>>>>> Regards,
>>>>>> Edwin
>>>>>>
>>>>>>
>>>>>>
>>>>>>
> --
> Monitoring * Alerting * Anomaly Detection * Centralized Log Management
> Solr & Elasticsearch Support * http://sematext.com/
>
>


-- 
--------------------------

Benedetti Alessandro
Visiting card : http://about.me/alessandro_benedetti

"Tyger, tyger burning bright
In the forests of the night,
What immortal hand or eye
Could frame thy fearful symmetry?"

William Blake - Songs of Experience -1794 England

Re: Solr segment merging in different replica

Posted by Emir Arnautovic <em...@sematext.com>.
Hi Edwin,
Master-Slave's main (maybe only) advantage is simpler infrastructure - 
it does not use ZK. Also, it does assume you don't need NRT search since 
there has to be longer periods between replicating master changes to slaves.

Regards,
Emir

On 03.02.2016 04:48, Zheng Lin Edwin Yeo wrote:
> Hi Emir,
>
> Thanks for your reply.
>
> As currently both of my main and replica are in the same server, and as I
> am using the SolrCloud setup, both the replica are doing the merging
> concurrently, which causes the memory usage of the server to be very high,
> and affect the other functions like querying. This issue should be
> eliminated when I shift my replica to another server.
>
> Would like to check, will there be any advantage if I change to the
> Master-Slave setup, as compared to the SolrCloud setup which I am currently
> using?
>
> Regards,
> Edwin
>
>
>
> On 2 February 2016 at 21:23, Emir Arnautovic <em...@sematext.com>
> wrote:
>
>> Hi Edwin,
>> Do you see any signs of network being bottleneck that would justify such
>> setup? I would suggest you monitor your cluster before deciding if you need
>> separate interfaces for external and internal communication. Sematext's SPM
>> (http://sematext.com/spm) allows you to monitor SolrCloud, hosts and
>> network and identify bottlenecks in your cluster.
>>
>> Regards,
>> Emir
>>
>> --
>> Monitoring * Alerting * Anomaly Detection * Centralized Log Management
>> Solr & Elasticsearch Support * http://sematext.com/
>>
>>
>>
>> On 02.02.2016 00:50, Zheng Lin Edwin Yeo wrote:
>>
>>> Hi Emir,
>>>
>>> My setup is SolrCloud.
>>>
>>> Also, will it be good to use a separate network interface to connect the
>>> two node with the interface that is used to connect to the network for
>>> searching?
>>>
>>> Regards,
>>> Edwin
>>>
>>>
>>> On 1 February 2016 at 19:01, Emir Arnautovic <
>>> emir.arnautovic@sematext.com>
>>> wrote:
>>>
>>> Hi Edwin,
>>>> What is your setup - SolrCloud or Master-Slave? If it si SolrCloud, then
>>>> under normal index updates, each core is behaving as independent index.
>>>> In
>>>> theory, if all changes happen at the same time on all nodes, merges will
>>>> happen at the same time. But that is not realistic and it is expected to
>>>> happen in slightly different time.
>>>> If you are running Master-Slave, then new segments will be copied from
>>>> master to slave.
>>>>
>>>> Regards,
>>>> Emir
>>>>
>>>> --
>>>> Monitoring * Alerting * Anomaly Detection * Centralized Log Management
>>>> Solr & Elasticsearch Support * http://sematext.com/
>>>>
>>>>
>>>>
>>>>
>>>> On 01.02.2016 11:56, Zheng Lin Edwin Yeo wrote:
>>>>
>>>> Hi,
>>>>> I would like to check, during segment merging, how did the replical node
>>>>> do
>>>>> the merging?
>>>>> Will it do the merging concurrently, or will the replica node delete the
>>>>> old segment and replace the new one?
>>>>>
>>>>> Also, is it possible to separate the network interface for inter-node
>>>>> communication from the network interface for update/search requests?
>>>>> If so I could put two network cards in each machine and route the index
>>>>> and
>>>>> search traffic over the first interface and the traffic for the
>>>>> inter-node
>>>>> communication (sending documents to replicas) over the second interface.
>>>>>
>>>>> I'm using Solr 5.4.0
>>>>>
>>>>> Regards,
>>>>> Edwin
>>>>>
>>>>>
>>>>>

-- 
Monitoring * Alerting * Anomaly Detection * Centralized Log Management
Solr & Elasticsearch Support * http://sematext.com/


Re: Solr segment merging in different replica

Posted by Zheng Lin Edwin Yeo <ed...@gmail.com>.
Hi Emir,

Thanks for your reply.

As currently both of my main and replica are in the same server, and as I
am using the SolrCloud setup, both the replica are doing the merging
concurrently, which causes the memory usage of the server to be very high,
and affect the other functions like querying. This issue should be
eliminated when I shift my replica to another server.

Would like to check, will there be any advantage if I change to the
Master-Slave setup, as compared to the SolrCloud setup which I am currently
using?

Regards,
Edwin



On 2 February 2016 at 21:23, Emir Arnautovic <em...@sematext.com>
wrote:

> Hi Edwin,
> Do you see any signs of network being bottleneck that would justify such
> setup? I would suggest you monitor your cluster before deciding if you need
> separate interfaces for external and internal communication. Sematext's SPM
> (http://sematext.com/spm) allows you to monitor SolrCloud, hosts and
> network and identify bottlenecks in your cluster.
>
> Regards,
> Emir
>
> --
> Monitoring * Alerting * Anomaly Detection * Centralized Log Management
> Solr & Elasticsearch Support * http://sematext.com/
>
>
>
> On 02.02.2016 00:50, Zheng Lin Edwin Yeo wrote:
>
>> Hi Emir,
>>
>> My setup is SolrCloud.
>>
>> Also, will it be good to use a separate network interface to connect the
>> two node with the interface that is used to connect to the network for
>> searching?
>>
>> Regards,
>> Edwin
>>
>>
>> On 1 February 2016 at 19:01, Emir Arnautovic <
>> emir.arnautovic@sematext.com>
>> wrote:
>>
>> Hi Edwin,
>>> What is your setup - SolrCloud or Master-Slave? If it si SolrCloud, then
>>> under normal index updates, each core is behaving as independent index.
>>> In
>>> theory, if all changes happen at the same time on all nodes, merges will
>>> happen at the same time. But that is not realistic and it is expected to
>>> happen in slightly different time.
>>> If you are running Master-Slave, then new segments will be copied from
>>> master to slave.
>>>
>>> Regards,
>>> Emir
>>>
>>> --
>>> Monitoring * Alerting * Anomaly Detection * Centralized Log Management
>>> Solr & Elasticsearch Support * http://sematext.com/
>>>
>>>
>>>
>>>
>>> On 01.02.2016 11:56, Zheng Lin Edwin Yeo wrote:
>>>
>>> Hi,
>>>>
>>>> I would like to check, during segment merging, how did the replical node
>>>> do
>>>> the merging?
>>>> Will it do the merging concurrently, or will the replica node delete the
>>>> old segment and replace the new one?
>>>>
>>>> Also, is it possible to separate the network interface for inter-node
>>>> communication from the network interface for update/search requests?
>>>> If so I could put two network cards in each machine and route the index
>>>> and
>>>> search traffic over the first interface and the traffic for the
>>>> inter-node
>>>> communication (sending documents to replicas) over the second interface.
>>>>
>>>> I'm using Solr 5.4.0
>>>>
>>>> Regards,
>>>> Edwin
>>>>
>>>>
>>>>

Re: Solr segment merging in different replica

Posted by Emir Arnautovic <em...@sematext.com>.
Hi Edwin,
Do you see any signs of network being bottleneck that would justify such 
setup? I would suggest you monitor your cluster before deciding if you 
need separate interfaces for external and internal communication. 
Sematext's SPM (http://sematext.com/spm) allows you to monitor 
SolrCloud, hosts and network and identify bottlenecks in your cluster.

Regards,
Emir

-- 
Monitoring * Alerting * Anomaly Detection * Centralized Log Management
Solr & Elasticsearch Support * http://sematext.com/



On 02.02.2016 00:50, Zheng Lin Edwin Yeo wrote:
> Hi Emir,
>
> My setup is SolrCloud.
>
> Also, will it be good to use a separate network interface to connect the
> two node with the interface that is used to connect to the network for
> searching?
>
> Regards,
> Edwin
>
>
> On 1 February 2016 at 19:01, Emir Arnautovic <em...@sematext.com>
> wrote:
>
>> Hi Edwin,
>> What is your setup - SolrCloud or Master-Slave? If it si SolrCloud, then
>> under normal index updates, each core is behaving as independent index. In
>> theory, if all changes happen at the same time on all nodes, merges will
>> happen at the same time. But that is not realistic and it is expected to
>> happen in slightly different time.
>> If you are running Master-Slave, then new segments will be copied from
>> master to slave.
>>
>> Regards,
>> Emir
>>
>> --
>> Monitoring * Alerting * Anomaly Detection * Centralized Log Management
>> Solr & Elasticsearch Support * http://sematext.com/
>>
>>
>>
>>
>> On 01.02.2016 11:56, Zheng Lin Edwin Yeo wrote:
>>
>>> Hi,
>>>
>>> I would like to check, during segment merging, how did the replical node
>>> do
>>> the merging?
>>> Will it do the merging concurrently, or will the replica node delete the
>>> old segment and replace the new one?
>>>
>>> Also, is it possible to separate the network interface for inter-node
>>> communication from the network interface for update/search requests?
>>> If so I could put two network cards in each machine and route the index
>>> and
>>> search traffic over the first interface and the traffic for the inter-node
>>> communication (sending documents to replicas) over the second interface.
>>>
>>> I'm using Solr 5.4.0
>>>
>>> Regards,
>>> Edwin
>>>
>>>

Re: Solr segment merging in different replica

Posted by Zheng Lin Edwin Yeo <ed...@gmail.com>.
Hi Emir,

My setup is SolrCloud.

Also, will it be good to use a separate network interface to connect the
two node with the interface that is used to connect to the network for
searching?

Regards,
Edwin


On 1 February 2016 at 19:01, Emir Arnautovic <em...@sematext.com>
wrote:

> Hi Edwin,
> What is your setup - SolrCloud or Master-Slave? If it si SolrCloud, then
> under normal index updates, each core is behaving as independent index. In
> theory, if all changes happen at the same time on all nodes, merges will
> happen at the same time. But that is not realistic and it is expected to
> happen in slightly different time.
> If you are running Master-Slave, then new segments will be copied from
> master to slave.
>
> Regards,
> Emir
>
> --
> Monitoring * Alerting * Anomaly Detection * Centralized Log Management
> Solr & Elasticsearch Support * http://sematext.com/
>
>
>
>
> On 01.02.2016 11:56, Zheng Lin Edwin Yeo wrote:
>
>> Hi,
>>
>> I would like to check, during segment merging, how did the replical node
>> do
>> the merging?
>> Will it do the merging concurrently, or will the replica node delete the
>> old segment and replace the new one?
>>
>> Also, is it possible to separate the network interface for inter-node
>> communication from the network interface for update/search requests?
>> If so I could put two network cards in each machine and route the index
>> and
>> search traffic over the first interface and the traffic for the inter-node
>> communication (sending documents to replicas) over the second interface.
>>
>> I'm using Solr 5.4.0
>>
>> Regards,
>> Edwin
>>
>>
>

Re: Solr segment merging in different replica

Posted by Emir Arnautovic <em...@sematext.com>.
Hi Edwin,
What is your setup - SolrCloud or Master-Slave? If it si SolrCloud, then 
under normal index updates, each core is behaving as independent index. 
In theory, if all changes happen at the same time on all nodes, merges 
will happen at the same time. But that is not realistic and it is 
expected to happen in slightly different time.
If you are running Master-Slave, then new segments will be copied from 
master to slave.

Regards,
Emir

-- 
Monitoring * Alerting * Anomaly Detection * Centralized Log Management
Solr & Elasticsearch Support * http://sematext.com/



On 01.02.2016 11:56, Zheng Lin Edwin Yeo wrote:
> Hi,
>
> I would like to check, during segment merging, how did the replical node do
> the merging?
> Will it do the merging concurrently, or will the replica node delete the
> old segment and replace the new one?
>
> Also, is it possible to separate the network interface for inter-node
> communication from the network interface for update/search requests?
> If so I could put two network cards in each machine and route the index and
> search traffic over the first interface and the traffic for the inter-node
> communication (sending documents to replicas) over the second interface.
>
> I'm using Solr 5.4.0
>
> Regards,
> Edwin
>