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 Daniel Carrasco <d....@i2tic.com> on 2018/11/27 15:44:34 UTC

Manage new nodes types limit

Hello,

I'm working on a new cluster and I want to make it with two TLOG nodes and
N PULL nodes.
For now I've found the way to scale the cluster adding replicas when a node
joins the cluster and deleting the replicas when is unreachable (like for
example after a shutdown), but all new replicas are NRT.


   - Is there any way to keep two TLOG replicas always?, if one fails for
   example and is removed from cluster, then create a new TLOG replica or
   promote an existing replica.
   - Is possible to configure the cluster to create the other new replicas
   as PULL?

Thanks!!

-- 
_________________________________________

      Daniel Carrasco Marín
      Ingeniería para la Innovación i2TIC, S.L.
      Tlf:  +34 911 12 32 84 Ext: 223
      www.i2tic.com
_________________________________________

Re: Manage new nodes types limit

Posted by Edward Ribeiro <ed...@gmail.com>.
Idk if you can promote a replica from PULL to TLOG, for example. You could
accomplish this deleting then adding the replica, imho.

Also, when adding a replica you can specify the type parameter (nrt, pull,
tlog), see
https://lucene.apache.org/solr/guide/7_4/collections-api.html#addreplica

Edward


Em ter, 27 de nov de 2018 13:45, Daniel Carrasco <d.carrasco@i2tic.com
escreveu:

> Hello,
>
> I'm working on a new cluster and I want to make it with two TLOG nodes and
> N PULL nodes.
> For now I've found the way to scale the cluster adding replicas when a node
> joins the cluster and deleting the replicas when is unreachable (like for
> example after a shutdown), but all new replicas are NRT.
>
>
>    - Is there any way to keep two TLOG replicas always?, if one fails for
>    example and is removed from cluster, then create a new TLOG replica or
>    promote an existing replica.
>    - Is possible to configure the cluster to create the other new replicas
>    as PULL?
>
> Thanks!!
>
> --
> _________________________________________
>
>       Daniel Carrasco Marín
>       Ingeniería para la Innovación i2TIC, S.L.
>       Tlf:  +34 911 12 32 84 Ext: 223
>       www.i2tic.com
> _________________________________________
>