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 node sort order and policy
Date Tue, 04 Sep 2018 21:31:20 GMT
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"}],

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