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

Value size limit is not configurable

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 4.0.0
    • 3.0, 3.0.1, 3.0.2, 4.0.0
    • moxi
    • Security Level: Public
    • Untriaged
    • Yes

    Description

      It is not possible to configure memory limits for object size. Default 1M looks like too low.

      $ gem install 'dalli'
      $ ruby <<EOF
      require 'rubygems'
      require 'dalli'
      c = Dalli::Client.new('localhost:11211')
      three_megabytes = 'x' * 3_000_000
      c.set('foo', three_megabytes)
      EOF
      

      It will output

      W, [2015-04-06T02:04:07.859526 #26808]  WARN -- : Value for foo over max size: 1048576 <= 3000007
      

      Attachments

        Issue Links

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

          Activity

            People

              trond Trond Norbye
              avsej Sergey Avseyev
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty