Uploaded image for project: 'Couchbase Java Client'
  1. Couchbase Java Client
  2. JCBC-248

ensure there is a floor to tuneables such that they can't be set so a client misbehaves

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.0.3, 1.1.0, 1.1.1, 1.1.2
    • Fix Version/s: .backlog1.x
    • Component/s: Core
    • Security Level: Public
    • Labels:
      None

      Description

      There have been a few situations where people have either inavertently or not knowing what they're doing set various internal timings to incorrect values. We should create a floor or a ceiling for these and change them with a warning if the user attempts to misuse it.

      From a recent code example:
      private static String serverList = "";
      private static long opTimeout = -1;
      private static long opQueueMaxBlockTime = -1;
      private static long obsPollInterval = -1;
      private static int obsPollMax = -1;
      private static long msReconnectThresholdTime = -1;
      private static long maxReconnectDelay = -1;
      private static boolean shouldOptimize = false;
      private static int timeoutExceptionThreshold = -1;
      private static boolean useNagleAlgorithm = false;
      private static FailureMode failureMode = FailureMode.Cancel;
      private static int ttl = 86400;
      private static int threads = 1;
      private static long msBeforeGet = 5000l;
      private static long repeat = -1;

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

        Activity

        ingenthr Matt Ingenthron created issue -
        ingenthr Matt Ingenthron made changes -
        Field Original Value New Value
        Planned Start 2013-02-15 12:00 (initialized without having effort estimation)
        Planned End 2013-02-15 12:00 (initialized without having effort estimation)
        daschl Michael Nitschinger made changes -
        Fix Version/s 1.1.4 [ 10514 ]
        Fix Version/s 1.1.3 [ 10496 ]
        daschl Michael Nitschinger made changes -
        Planned Start 2013-02-15 12:00 2013-02-15 12:00 (set to new fixed version's start date)
        Planned End 2013-02-15 12:00 2013-02-15 12:00 (set to new fixed version's start date)
        daschl Michael Nitschinger made changes -
        Fix Version/s 1.1.5 [ 10515 ]
        Fix Version/s 1.1.4 [ 10514 ]
        daschl Michael Nitschinger made changes -
        Planned Start 2013-02-15 12:00 2013-02-15 12:00 (set to new fixed version's start date)
        Planned End 2013-02-15 12:00 2013-02-15 12:00 (set to new fixed version's start date)
        daschl Michael Nitschinger made changes -
        Fix Version/s 1.1.6 [ 10531 ]
        Fix Version/s 1.1.5 [ 10515 ]
        daschl Michael Nitschinger made changes -
        Fix Version/s 1.1.7 [ 10532 ]
        Fix Version/s 1.1.6 [ 10531 ]
        daschl Michael Nitschinger made changes -
        Fix Version/s 1.1.8 [ 10628 ]
        Fix Version/s 1.1.7 [ 10532 ]
        daschl Michael Nitschinger made changes -
        Fix Version/s 1.2 [ 10383 ]
        Fix Version/s 1.1.8 [ 10628 ]
        daschl Michael Nitschinger made changes -
        Fix Version/s 1.2 [ 10383 ]
        daschl Michael Nitschinger made changes -
        Fix Version/s .next [ 10495 ]
        daschl Michael Nitschinger made changes -
        Component/s Core [ 10140 ]
        ingenthr Matt Ingenthron made changes -
        Workflow jira [ 24598 ] Couchbase SDK Workflow [ 38528 ]

          People

          • Assignee:
            daschl Michael Nitschinger
            Reporter:
            ingenthr Matt Ingenthron
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:

              Gerrit Reviews

              There are no open Gerrit changes