Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-2309

Inconsistent units in /pools/default

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • Minor
    • 1.7.0
    • 1.6.0 beta4
    • RESTful-APIs
    • None
    • Operating System: All
      Platform: All

    Description

      [perry@Membase1 ~]$ curl -i -u Administrator:norths http://10.1.5.7:8080/pools/default/
      HTTP/1.1 200 OK
      Server: NorthScale Server 1.6.0beta4
      Pragma: no-cache
      Date: Tue, 28 Sep 2010 18:33:54 GMT
      Content-Type: application/json
      Content-Length: 1094
      Cache-Control: no-cache no-store max-age=0

      {"storageTotals":{"ram":

      {"quotaUsed":104857600,"total":2058928128,"quotaTotal":1646264320,"used":1802743808}

      ,"hdd":{"usedByData":0,"total":13456097280.0,"quotaTotal":13456097280.0,"used":4305951129.0}},"name":"default","nodes":[{"uptime":"1861","memoryTotal":2058928128,"memoryFree":256184320,"mcdMemoryReserved":1570,"mcdMemoryAllocated":1570,"clusterMembership":"active","status":"healthy","hostname":"10.1.5.7:8080","version":"1.6.0beta4","os":"x86_64-unknown-linux-gnu","ports":

      {"proxy":11211,"direct":11210}

      ,"otpNode":"ns_1@10.1.5.7","otpCookie":"xeaauzpkzjkpizaw"}],"buckets":

      {"uri":"/pools/default/buckets"}

      ,"controllers":{"addNode":

      {"uri":"/controller/addNode"}

      ,"rebalance":

      {"uri":"/controller/rebalance"}

      ,"failOver":

      {"uri":"/controller/failOver"}

      ,"reAddNode":

      {"uri":"/controller/reAddNode"}

      ,"ejectNode":

      {"uri":"/controller/ejectNode"}

      ,"testWorkload":{"uri":"/pools/default/controller/testWorkload"}},"balanced":true,"rebalanceStatus":"none","rebalanceProgressUri":"/pools/default/rebalanceProgress","stopRebalanceUri":"/controller/stopRebalance","stats":{"uri":"/pools/default/stats"}}[perry@Membase1 ~]$

      This seems to use bytes for "memoryTotal"/"memoryFree" yet uses megabytes for "mcdMemoryReserved" and "mcdMemoryAllocated".

      We should unify on bytes.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              alkondratenko Aleksey Kondratenko (Inactive)
              perry Perry Krug
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty