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)

        Activity

        karan Karan Kumar (Inactive) created issue -
        dipti Dipti Borkar made changes -
        Field Original Value New Value
        Labels 2.0-DP3-release-notes
        karan Karan Kumar (Inactive) made changes -
        Summary Incorrect total Cluster Storage when using custom data path Incorrect total Cluster Storage , summing up index_path and data_path sizes
        Fix Version/s 2.0-developer-preview-4 [ 10260 ]
        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.
        dipti Dipti Borkar made changes -
        Assignee Aleksey Kondratenko [ alkondratenko ] Farshid Ghods [ farshid ]
        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.
        alkondratenko Aleksey Kondratenko (Inactive) made changes -
        Assignee Farshid Ghods [ farshid ] Aleksey Kondratenko [ alkondratenko ]
        dipti Dipti Borkar made changes -
        Priority Major [ 3 ] Blocker [ 1 ]
        steve Steve Yen made changes -
        Assignee Aleksey Kondratenko [ alkondratenko ] Dale Harvey [ daleharvey ]
        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)
        Show
        daleharvey Dale Harvey added a comment - http://review.couchbase.org/#change,12655
        Aliaksey Artamonau Aliaksey Artamonau made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        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
        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.
        thuan Thuan Nguyen made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        farshid Farshid Ghods (Inactive) made changes -
        Resolution Fixed [ 1 ]
        Status Closed [ 6 ] Reopened [ 4 ]
        farshid Farshid Ghods (Inactive) made changes -
        Labels 2.0-DP3-release-notes 2.0-DP3-release-notes 2.0-dev-preview-4-release-notes
        farshid Farshid Ghods (Inactive) made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        farshid Farshid Ghods (Inactive) made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          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