Uploaded image for project: 'Couchbase .NET client library'
  1. Couchbase .NET client library
  2. NCBC-1544

With SSL, KV throughput drops significantly when topology changes

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 2.5.1
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      With SSL is used, KV throughput drops significantly(1400 -> 20) when topology changes, such as swap 1 node.

      Since this is first time to test with SSL with .NET, I checked previous .net sdk and turned out it does the same behavior so, this is exiting issue.

      Test was done against 4.5.1 GA

       

       

       

        Attachments

          Issue Links

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

            Activity

            Hide
            jmorris Jeff Morris added a comment - - edited

            Looks like the cluster map is not updating:

            Line 1: 2017-10-03 18:28:05,402 [85] DEBUG Couchbase.Core.ClusterController - Queueing config rev#1098 for [default].
            Line 8: 2017-10-03 18:28:05,404 [17] DEBUG Couchbase.Core.ClusterController - Queueing config rev#1098 for [default].
            Line 9: 2017-10-03 18:28:05,404 [CT] DEBUG Couchbase.Core.ClusterController - Processing config rev#1098
            Line 10: 2017-10-03 18:28:05,404 [CT] DEBUG Couchbase.Core.ClusterController - Processing config rev#1098
            Line 11: 2017-10-03 18:28:05,404 [CT] DEBUG Couchbase.Configuration.Server.Providers.ConfigProviderBase - 1. Checking config with rev#1098 on thread 37
            Line 12: 2017-10-03 18:28:05,404 [CT] DEBUG Couchbase.Configuration.Server.Providers.ConfigProviderBase - 1. Checking config with rev#1098 on thread 38
            Line 13: 2017-10-03 18:28:05,404 [CT] INFO Couchbase.Configuration.Server.Providers.ConfigProviderBase - Ignoring config with rev#1098

            ...

            2017-10-03 18:28:08,712 [27] DEBUG Couchbase.Core.VBucket - System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
            at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
            at Couchbase.Core.VBucket.LocatePrimary()

            Throughout the entire log I see the same pattern of ignoring the config change because its update to date and then the VBucket lookup failing because it doesn't find an entry on the client.

            Show
            jmorris Jeff Morris added a comment - - edited Looks like the cluster map is not updating: Line 1: 2017-10-03 18:28:05,402 [85] DEBUG Couchbase.Core.ClusterController - Queueing config rev#1098 for [default] . Line 8: 2017-10-03 18:28:05,404 [17] DEBUG Couchbase.Core.ClusterController - Queueing config rev#1098 for [default] . Line 9: 2017-10-03 18:28:05,404 [CT] DEBUG Couchbase.Core.ClusterController - Processing config rev#1098 Line 10: 2017-10-03 18:28:05,404 [CT] DEBUG Couchbase.Core.ClusterController - Processing config rev#1098 Line 11: 2017-10-03 18:28:05,404 [CT] DEBUG Couchbase.Configuration.Server.Providers.ConfigProviderBase - 1. Checking config with rev#1098 on thread 37 Line 12: 2017-10-03 18:28:05,404 [CT] DEBUG Couchbase.Configuration.Server.Providers.ConfigProviderBase - 1. Checking config with rev#1098 on thread 38 Line 13: 2017-10-03 18:28:05,404 [CT] INFO Couchbase.Configuration.Server.Providers.ConfigProviderBase - Ignoring config with rev#1098 ... 2017-10-03 18:28:08,712 [27] DEBUG Couchbase.Core.VBucket - System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary. at System.Collections.Generic.Dictionary`2.get_Item(TKey key) at Couchbase.Core.VBucket.LocatePrimary() Throughout the entire log I see the same pattern of ignoring the config change because its update to date and then the VBucket lookup failing because it doesn't find an entry on the client.
            Hide
            jmorris Jeff Morris added a comment -

            Jae Park [X] - can you get me the logs around the last config change (before rev#1098)?

            Show
            jmorris Jeff Morris added a comment - Jae Park [X] - can you get me the logs around the last config change (before rev#1098)?
            Hide
            jmorris Jeff Morris added a comment -

            NCBC-1544 and NCBC-1546 are the same issue. There is something wrong with the cluster map updating when using SSL, so the client mapping the key to the VBucket it belongs to fails

            Jae Park [X] can you provide a log file that includes the previous cluster map?

            Show
            jmorris Jeff Morris added a comment - NCBC-1544 and NCBC-1546 are the same issue. There is something wrong with the cluster map updating when using SSL, so the client mapping the key to the VBucket it belongs to fails Jae Park [X] can you provide a log file that includes the previous cluster map?

              People

              • Assignee:
                jmorris Jeff Morris
                Reporter:
                jaekwon.park Jae Park [X] (Inactive)
              • 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

                    Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.