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

[CX] Need lightweight method of determining number of vbuckets

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • CBAS DP
    • CBAS DP
    • analytics
    • None
    • Untriaged
    • Unknown
    • CX Sprint 27, CX Sprint 28

    Description

      CBAS currently uses the DCP client to determine the number of vbuckets for a given cluster/bucket. The DCP client has a very large footprint, causing 37 threads to start:

      "cb-io-1-10" Id=102 RUNNABLE
      "cb-io-1-9" Id=101 RUNNABLE
      "cb-io-1-8" Id=100 RUNNABLE
      "cb-io-1-7" Id=99 RUNNABLE (in native)
      "cb-io-1-6" Id=98 RUNNABLE (in native)
      "cb-io-1-5" Id=97 RUNNABLE (in native)
      "cb-io-1-4" Id=96 RUNNABLE (in native)
      "cb-computations-15" Id=136 WAITING on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@5266de60
      "cb-computations-14" Id=135 WAITING on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@331c6faf
      "cb-computations-13" Id=134 WAITING on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@3c455435
      "threadDeathWatcher-4-1" Id=133 TIMED_WAITING
      "cb-computations-12" Id=132 WAITING on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@109c6458
      "cb-computations-10" Id=130 WAITING on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@746d3df5
      "cb-computations-11" Id=131 WAITING on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@24dc55c0
      "cb-io-1-1" Id=93 RUNNABLE (in native)
      "cb-io-1-3" Id=95 RUNNABLE (in native)
      "cb-io-1-2" Id=94 RUNNABLE (in native)
      "cb-computations-9" Id=129 WAITING on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@32ae4992
      "RxComputationScheduler-2" Id=128 TIMED_WAITING on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@4163453b
      "cb-computations-8" Id=127 WAITING on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@5c7c4a77
      "cb-computations-7" Id=126 WAITING on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@1ac8666d
      "cb-computations-6" Id=125 WAITING on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@5aea4e7f
      "cb-computations-5" Id=124 WAITING on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@17b9284
      "RxComputationScheduler-1" Id=123 TIMED_WAITING on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@3fea5f2e
      "RxIoScheduler-1 (Evictor)" Id=122 TIMED_WAITING on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@66c8adb0
      "cb-core-3-2" Id=121 WAITING on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@6e599ea0
      "cb-core-3-1" Id=120 WAITING on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@33ebde5d
      "cb-computations-4" Id=119 TIMED_WAITING on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@5e95f421
      "cb-computations-3" Id=118 WAITING on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@7d93676e
      "RxScheduledExecutorPool-2" Id=117 TIMED_WAITING on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@5f1d5ae2
      "RxScheduledExecutorPool-1" Id=116 TIMED_WAITING on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@32e97e6a
      "cb-computations-2" Id=115 TIMED_WAITING on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@43aca0ea
      "SimplePauseDetectorThread_2" Id=113 TIMED_WAITING
      "SimplePauseDetectorThread_1" Id=112 TIMED_WAITING
      "SimplePauseDetectorThread_0" Id=111 TIMED_WAITING
      "Thread-39" Id=110 WAITING on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@25e207e6
      "cb-computations-1" Id=109 TIMED_WAITING on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@109d83f2
      

      Attachments

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

        Activity

          People

            Abdullah.Alamoudi Abdullah Alamoudi [X] (Inactive)
            michael.blow Michael Blow
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty