Uploaded image for project: 'Couchbase Mobile'
  1. Couchbase Mobile
  2. CM-231

Test Error: Document loading pauses, causes test timeout

    XMLWordPrintable

Details

    Description

      Steps to reproduce:

      1. Register bulk users with different channels to each user.
      2. Add docs to each user in parallel using parallel thread.

       Expected : 

         It should work without any issues and all docs should create successfully

      Actual:

           Get Read time out Error and fails to add docs 

      SGW logs:

      user-parallel.zip

      SGW config:

      {
          "interface":":4984",
          "adminInterface": "0.0.0.0:4985",
          "maxIncomingConnections": 0,
          "maxCouchbaseConnections": 16,
          "maxFileDescriptors": 90000,
          "compressResponses": false,
          "logging": {"debug": {"enabled": true} },
       
       
       
       
          "databases":{
              "db":{
       
       
       
       
       
       
                  "use_views": true,
       
       
                  "username": "data-bucket",
                  "password": "password",
       
       
       
       
       
       
       
       
                  "server":"http://192.168.33.10:8091",
                  "bucket":"data-bucket",
                  "sync": `function(doc){
                        channel(doc.channels);
                      }`,
                  "offline":false
              }
          }
      }
      

      Note : It happens only when use_views is set. It passes with GSI

      Attachments

        1. sg_info_usersParallel_beforesgwrestart.log
          3.71 MB
        2. sg_info.log
          145 kB
        3. user-parallel.zip
          12.06 MB
        4. user-parallel-250.zip
          12.01 MB

        Issue Links

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

          Activity

            People

              sridevi.saragadam Sridevi Saragadam (Inactive)
              sridevi.saragadam Sridevi Saragadam (Inactive)
              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