Uploaded image for project: 'Couchbase Lite'
  1. Couchbase Lite
  2. CBL-171

CBL replication never finishes for replication filtering when doc count is 1000

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.6.0
    • 2.7.0
    • LiteCore
    • Security Level: Public
    • CBL2.6.0-126 (net-msft Windows 10)
      SG 2.5.1-11 (Centos 7)
      CBS 6.0.1-2037 (Centos 7)
    • Medium

    Description

      Replication never finishes for test_replication_pull_filtering and test_replication_filter_access_revoke_document when filtering is done with 1000 docs. For 10 docs and 100 docs, test passes.

      The issue is completed doesn't reaches to the exact count of expected total and after checking for sometime (150 iteration) we closes the replicator.

      PS: This is with delta-sync disabled

      pytest --timeout 3600 --liteserv-version=2.6.0-126 --liteserv-host=10.100.161.140 --liteserv-port=8080 --sg-ssl --enable-file-logging --no-conflicts --sync-gateway-version=2.5.1-11 --mode=cc --server-version=6.0.1-2037 --liteserv-platform=net-msft --create-db-per-test=cbl-test testsuites/CBLTester/CBL_Functional_tests/TestSetup_FunctionalTests -k test_replication_pull_filtering[1000]

      Test Report:
      http://uberjenkins.sc.couchbase.com:8080/job/Net-windows-TestSever-Funtional-tests/982/testReport/junit/testsuites.CBLTester.CBL_Functional_tests.TestSetup_FunctionalTests/test_replication_filtering/test_replication_pull_filtering_1000_/

      As one can see because the replication never completes, we got key_error (additional field added in the doc) for the update on doc.

      Attachments

        1. cbcollect_info.zip
          3.44 MB
        2. log_1563779238.80133.rar
          271 kB
        3. logs.txt
          2.53 MB
        4. po.png
          po.png
          3.11 MB
        5. python_client.log
          209 kB
        6. sgcollect_info.zip
          13.50 MB
        7. unit-test.txt
          2 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          hemant.rajput Hemant Rajput created issue -
          hemant.rajput Hemant Rajput made changes -
          Field Original Value New Value
          Attachment log_1563779238.80133.rar [ 71186 ]
          hemant.rajput Hemant Rajput made changes -
          Summary CBL replication never finishes for pull filtering when doc count is 1000 CBL replication never finishes for replication filtering when doc count is 1000
          hemant.rajput Hemant Rajput made changes -
          Description Replication never finishes for test_replication_pull_filtering when pull filtering is done with 1000 docs. For 10 docs and 100 docs, test passes.

          The issue is completed doesn't reaches to the exact count of expected total and after checking for sometime (150 iteration) we closes the replicator.

          PS: This is with delta-sync disabled

          pytest --timeout 3600 --liteserv-version=2.6.0-126 --liteserv-host=10.100.161.140 --liteserv-port=8080 --sg-ssl --enable-file-logging --no-conflicts --sync-gateway-version=2.5.1-11 --mode=cc --server-version=6.0.1-2037 --liteserv-platform=net-msft --create-db-per-test=cbl-test testsuites/CBLTester/CBL_Functional_tests/TestSetup_FunctionalTests -k test_replication_pull_filtering[1000]

          Test Report:
          http://uberjenkins.sc.couchbase.com:8080/job/Net-windows-TestSever-Funtional-tests/982/testReport/junit/testsuites.CBLTester.CBL_Functional_tests.TestSetup_FunctionalTests/test_replication_filtering/test_replication_pull_filtering_1000_/

          As one can see because the replication never completes, we got key_error (additional field added in the doc) for the update on doc.
          Replication never finishes for test_replication_pull_filtering and test_replication_filter_access_revoke_document when filtering is done with 1000 docs. For 10 docs and 100 docs, test passes.

          The issue is completed doesn't reaches to the exact count of expected total and after checking for sometime (150 iteration) we closes the replicator.

          PS: This is with delta-sync disabled

          pytest --timeout 3600 --liteserv-version=2.6.0-126 --liteserv-host=10.100.161.140 --liteserv-port=8080 --sg-ssl --enable-file-logging --no-conflicts --sync-gateway-version=2.5.1-11 --mode=cc --server-version=6.0.1-2037 --liteserv-platform=net-msft --create-db-per-test=cbl-test testsuites/CBLTester/CBL_Functional_tests/TestSetup_FunctionalTests -k test_replication_pull_filtering[1000]

          Test Report:
          http://uberjenkins.sc.couchbase.com:8080/job/Net-windows-TestSever-Funtional-tests/982/testReport/junit/testsuites.CBLTester.CBL_Functional_tests.TestSetup_FunctionalTests/test_replication_filtering/test_replication_pull_filtering_1000_/

          As one can see because the replication never completes, we got key_error (additional field added in the doc) for the update on doc.
          daniel.petersen Daniel Petersen made changes -
          Assignee The Lite [ cbgto ] Sandy Chuang [ sandy.chaung ]
          daniel.petersen Daniel Petersen made changes -
          Component/s iOS [ 15348 ]
          Jayahari.Vavachan Jay Vavachan made changes -
          Attachment unit-test.txt [ 71268 ]
          Jayahari.Vavachan Jay Vavachan made changes -
          Attachment logs.txt [ 71269 ]
          Jayahari.Vavachan Jay Vavachan made changes -
          Attachment po.png [ 71270 ]
          daniel.petersen Daniel Petersen made changes -
          Fix Version/s Cobalt [ 16173 ]
          sandy.chuang Sandy Chuang (Inactive) made changes -
          Component/s LiteCore [ 15347 ]
          Component/s .NET [ 15346 ]
          Component/s iOS [ 15348 ]
          sandy.chuang Sandy Chuang (Inactive) made changes -
          Assignee Sandy Chuang [ sandy.chaung ] Jens Alfke [ jens ]
          Automated transition triggered when Jens Alfke merged pull request #812 in GitHub -
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Resolved [ 5 ]
          jens Jens Alfke made changes -
          Actual End 2019-07-30 17:09 (issue has been closed)
          sandy.chuang Sandy Chuang (Inactive) made changes -
          Remote Link This issue links to "Page (Couchbase, Inc. Wiki)" [ 18339 ]
          sridevi.saragadam Sridevi Saragadam (Inactive) made changes -
          Assignee Jens Alfke [ jens ] Hemant Rajput [ hemant.rajput ]
          daniel.petersen Daniel Petersen made changes -
          Remote Link This issue links to "Page (Couchbase, Inc. Wiki)" [ 18339 ]
          eunice.huang Eunice Huang (Inactive) made changes -
          Assignee Hemant Rajput [ hemant.rajput ] The Lite [ cbgto ]
          Resolution Fixed [ 1 ]
          Status Resolved [ 5 ] Reopened [ 4 ]
          daniel.petersen Daniel Petersen made changes -
          Fix Version/s Mercury [ 16188 ]
          Fix Version/s 2.6.0 [ 16173 ]
          Automated transition triggered when Jens Alfke merged pull request #838 in GitHub -
          Resolution Fixed [ 1 ]
          Status Reopened [ 4 ] Resolved [ 5 ]
          daniel.petersen Daniel Petersen made changes -
          Assignee The Lite [ cbgto ] Hemant Rajput [ hemant.rajput ]
          hemant.rajput Hemant Rajput made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

          People

            hemant.rajput Hemant Rajput
            hemant.rajput Hemant Rajput
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty