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

Create 1.8.1 hot fix from http://review.couchbase.org/24783 (handle_streaming memory usage improvement)

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.8.1
    • Fix Version/s: 1.8.1
    • Component/s: installer
    • Security Level: Public
    • Labels:
      None

      Description

      SUBJ.

      I'll attach .beam file. I guess we'll need some script to "install" it.

      Attached beam file should be placed to /opt/couchbase/lib/ns_server/erlang/lib/ns_server-1.8.1_2_ga06f339/ebin (NOTE: I'm not sure -945 is actual 1.8.1 release, version after ns_server may differ). It will replace original file under same name.

      Then in order to hot-load this beam file do:

      1. curl -u Administrator:asdasd -d 'c:l(menelaus_web).' -v http://localhost:9000/diag/eval
      • About to connect() to localhost port 9000 (#0)
      • Trying 127.0.0.1...
      • Connected to localhost (127.0.0.1) port 9000 (#0)
      • Server auth using Basic with user 'Administrator'
        > POST /diag/eval HTTP/1.1
        > Authorization: Basic QWRtaW5pc3RyYXRvcjphc2Rhc2Q=
        > User-Agent: curl/7.29.0
        > Host: localhost:9000
        > Accept: /
        > Content-Length: 18
        > Content-Type: application/x-www-form-urlencoded
        >
      • upload completely sent off: 18 out of 18 bytes
        < HTTP/1.1 200 OK
        < Server: MochiWeb/1.0 (Any of you quaids got a smint?)
        < Date: Fri, 22 Feb 2013 03:14:32 GMT
        < Content-Length: 21
        <
      • Connection #0 to host localhost left intact {module,menelaus_web}

      (replace 9000 with 8091 and asdasd with real admin password)

      1. menelaus_web.beam
        84 kB
        Aleksey Kondratenko
      No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

        Hide
        plabee Phil Labee (Inactive) added a comment -

        I will use "ns_server-1.8.1_2_ga06f339/" for ubuntu-32 and ubuntu-64 (debian)

        Show
        plabee Phil Labee (Inactive) added a comment - I will use "ns_server-1.8.1_2_ga06f339/" for ubuntu-32 and ubuntu-64 (debian)
        Hide
        plabee Phil Labee (Inactive) added a comment -

        Uploaded another hot-fix candidate:

        => s3cmd ls s3://packages.couchbase.com/releases/1.8.1-HOTFIX-MB-7805/
        2013-03-01 17:34 67886 s3://packages.couchbase.com/releases/1.8.1-HOTFIX-MB-7805/couchbase-server-1.8.1-HOTFIX-MB-7805.zip
        2013-03-01 17:34 83 s3://packages.couchbase.com/releases/1.8.1-HOTFIX-MB-7805/couchbase-server-1.8.1-HOTFIX-MB-7805.zip.md5

        This includes the change to how the "ns_server-*' directory is determined:

        We assume that every properly configured node has exactly one such directory, and we use that. On linux we actually check to see how many there are and exit with an error message if there's not exacly one. On windows we assume there is exactly one and we just use the first one we find.

        Show
        plabee Phil Labee (Inactive) added a comment - Uploaded another hot-fix candidate: => s3cmd ls s3://packages.couchbase.com/releases/1.8.1-HOTFIX-MB-7805/ 2013-03-01 17:34 67886 s3://packages.couchbase.com/releases/1.8.1-HOTFIX-MB-7805/couchbase-server-1.8.1-HOTFIX- MB-7805 .zip 2013-03-01 17:34 83 s3://packages.couchbase.com/releases/1.8.1-HOTFIX-MB-7805/couchbase-server-1.8.1-HOTFIX- MB-7805 .zip.md5 This includes the change to how the "ns_server-*' directory is determined: We assume that every properly configured node has exactly one such directory, and we use that. On linux we actually check to see how many there are and exit with an error message if there's not exacly one. On windows we assume there is exactly one and we just use the first one we find.
        Hide
        plabee Phil Labee (Inactive) added a comment -

        please verify that both update scripts work as expected

        Show
        plabee Phil Labee (Inactive) added a comment - please verify that both update scripts work as expected
        Hide
        iryna iryna added a comment -

        tested last patch on centos 64 bit, looks good.
        19721 couchbas 25 0 192m 103m 2540 S 0.3 2.5 0:18.03 beam.smp with 1000 connections

        Show
        iryna iryna added a comment - tested last patch on centos 64 bit, looks good. 19721 couchbas 25 0 192m 103m 2540 S 0.3 2.5 0:18.03 beam.smp with 1000 connections
        Hide
        iryna iryna added a comment -

        per previous comment - closed

        Show
        iryna iryna added a comment - per previous comment - closed

          People

          • Assignee:
            iryna iryna
            Reporter:
            alkondratenko Aleksey Kondratenko (Inactive)
          • Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Gerrit Reviews

              There are no open Gerrit changes