lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kudrettin Güleryüz <kudret...@gmail.com>
Subject Re: node sort order and policy
Date Wed, 05 Sep 2018 14:16:13 GMT
Thank you.

On Tue, Sep 4, 2018 at 10:34 PM Shalin Shekhar Mangar <
shalinmangar@gmail.com> wrote:

> The "sortedNodes" shows the nodes in the system from the most loaded to
> least loaded order. All other things being equal, a node having the least
> free disk space will come first and the last node will be the one with the
> most available disk space.
>
> On Wed, Sep 5, 2018 at 3:01 AM Kudrettin Güleryüz <kudrettin@gmail.com>
> wrote:
>
> > Given exhibit A which shows the current sort order on a 7.3.1 cloud
> > installation, why would the sort order be from less freedisk to more
> > freedisk? Shouldn't it be the reverse since the number of cores is the
> same
> > for all nodes? preferences and policies are listed in exhibit B.
> >
> > Thank you,
> >
> >
> > Exhibit A: (autoscaling/diagnostics)
> > {
> >
> >   "responseHeader":{
> >     "status":0,
> >     "QTime":281},
> >   "diagnostics":{
> >     "sortedNodes":[{
> >         "node":"test-46:8983_solr",
> >         "cores":138,
> >         "freedisk":289.32603454589844,
> >         "sysLoadAvg":88.0},
> >       {
> >         "node":"test-44:8983_solr",
> >         "cores":138,
> >         "freedisk":303.9487609863281,
> >         "sysLoadAvg":122.0},
> >       {
> >         "node":"test-45:8983_solr",
> >         "cores":138,
> >         "freedisk":323.1516571044922,
> >         "sysLoadAvg":166.0},
> >       {
> >         "node":"test-43:8983_solr",
> >         "cores":138,
> >         "freedisk":325.2588005065918,
> >         "sysLoadAvg":107.0},
> >       {
> >         "node":"test-41:8983_solr",
> >         "cores":138,
> >         "freedisk":334.3892288208008,
> >         "sysLoadAvg":56.99999999999999},
> >       {
> >         "node":"test-42:8983_solr",
> >         "cores":138,
> >         "freedisk":360.2049674987793,
> >         "sysLoadAvg":98.0}],
> >     "violations":[]},
> >   "WARNING":"This response format is experimental.  It is likely to
> > change in the future."}
> >
> >
> > Exhibit B: (admin/autoscaling)
> >
> >  "cluster-preferences":[{
> >       "minimize":"cores",
> >       "precision":1}
> >     ,{
> >       "maximize":"freedisk",
> >       "precision":10}
> >     ,{
> >       "minimize":"sysLoadAvg",
> >       "precision":3}],
> >   "cluster-policy":[{
> >       "replica":"<2",
> >       "node":"#ANY"}
> >     ,{
> >       "replica":"0",
> >       "freedisk":"<10",
> >       "strict":"true"}],
> >
>
>
> --
> Regards,
> Shalin Shekhar Mangar.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message