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

Data Directory path and filename changes

    XMLWordPrintable

Details

    • Story
    • Resolution: Fixed
    • Critical
    • 1.7 alpha 1
    • None
    • None
    • Security Level: Public
    • None

    Description

      In order to simplify in-place upgrades and make it easier to distribute buckets across devices we need to re-organize the data directory

      New structure:

      1) Directory path: <Membase Data root>/data/<bucketname>_bucket/
      2) Shard Filename: <bucketname>-<shardnumber>.mb
      3) Move logs, tmp, mnesia under <Membase Data root> (already largely the case in Windows)
      4) On Linux, remove the version number from /etc/opt/membase/<version> to /etc/opt/membase and version config files. If possible (ns_1) directory should also be removed
      5) In-place upgrade needs to end up with files in correct new place and new name and deal with old configs that have the old data location in them

      Membase Data root is:
      Linux: /var/opt/membase
      Windows: INSTALL_DIR

      INSTALL_DIR might look something like PROGRAM_FILES\Membase\Server, but it's up to the user
      PROGRAM_FILES is usually something like:
      c:\Program Files
      c:\Program Files (x86)

      Additional Actions required:
      1) Creation and documentation of modified in-place upgrade procedures.
      2) Mixed clusters will be actively prevented

      Attachments

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

        Activity

          People

            steve Steve Yen
            frank Frank Weigel (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 11h
                11h
                Remaining:
                Remaining Estimate - 10h
                10h
                Logged:
                Remaining Estimate - 10h Time Not Required
                1m

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty