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
    • Resolution: Fixed
    • Major
    • 2.7.0
    • 2.6.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

        Activity

          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:

              PagerDuty