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

Incorrect total Cluster Storage , summing up index_path and data_path sizes

    Details

      Description

      Version: 2.0.0r-266-g480746a

      Set the path to /mnt/ebs (100GB size).
      curl -d path=/mnt/ebs http://localhost:8091/nodes/self/controller/settings
      10 node cluster .. Total cluster storage is (1TB (10*100GB))

      See the screenshot attached. Here the total size is roughly twice the actual storage available.

      I think the total storage calculation is doing sum of path and index_path. Here both are same (/mnt/ebs)

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

        Activity

        Hide
        thuan Thuan Nguyen added a comment -

        Verify this bug is fixed on build 2.0.0r-607 on 4 nodes of ubuntu 10.04 64bit.

        Show
        thuan Thuan Nguyen added a comment - Verify this bug is fixed on build 2.0.0r-607 on 4 nodes of ubuntu 10.04 64bit.
        Hide
        thuan Thuan Nguyen added a comment -

        Integrated in github-ns-server-2-0 #269 (See http://qa.hq.northscale.net/job/github-ns-server-2-0/269/)
        Dont sum index_path and db_path when on the same mount point (MB-4512)

        aliaksiej.artamonau :
        Files :

        • src/ns_storage_conf.erl
        Show
        thuan Thuan Nguyen added a comment - Integrated in github-ns-server-2-0 #269 (See http://qa.hq.northscale.net/job/github-ns-server-2-0/269/ ) Dont sum index_path and db_path when on the same mount point ( MB-4512 ) aliaksiej.artamonau : Files : src/ns_storage_conf.erl
        Show
        daleharvey Dale Harvey added a comment - http://review.couchbase.org/#change,12655
        Hide
        daleharvey Dale Harvey added a comment -

        It looks easy to fix index_path and data_path being summed when they are mounted on the same disk, however I dont think its going to be possible to determine whether different nodes in the cluster have the same drive mounted (running a 2 node cluster locally I get total storage as 4x my hard drive)

        Show
        daleharvey Dale Harvey added a comment - It looks easy to fix index_path and data_path being summed when they are mounted on the same disk, however I dont think its going to be possible to determine whether different nodes in the cluster have the same drive mounted (running a 2 node cluster locally I get total storage as 4x my hard drive)
        Hide
        alkondratenko Aleksey Kondratenko (Inactive) added a comment -

        no need. Nobody fixed it yet.

        Show
        alkondratenko Aleksey Kondratenko (Inactive) added a comment - no need. Nobody fixed it yet.
        Hide
        dipti Dipti Borkar added a comment -

        Check if this is fixed. Reassigning to QE.

        Show
        dipti Dipti Borkar added a comment - Check if this is fixed. Reassigning to QE.

          People

          • Assignee:
            daleharvey Dale Harvey
            Reporter:
            karan Karan Kumar (Inactive)
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Gerrit Reviews

              There are no open Gerrit changes